struct
OpenRouter::ToolFunction
- OpenRouter::ToolFunction
- Struct
- Value
- Object
Overview
tool calls look like this: "tool_calls": [ { "id": "call_9pw1qnYScqvGrCH58HWCvFH6", "type": "function", "function": { "name": "get_current_weather", "arguments": "{ "location": "Boston, MA"}" } } ] Helper struct for the function part of a tool call
Included Modules
- JSON::Serializable