{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "#/components/schemas/ChatCompletionToolCall", "title": "ChatCompletionToolCall", "type": "object", "description": "A tool call generated by the model.", "properties": { "id": { "type": "string", "description": "The ID of the tool call.", "example": "abc123" }, "type": { "type": "string", "enum": [ "function" ], "description": "The type of the tool call.", "example": "function" }, "function": { "type": "object", "description": "The function that the model called.", "properties": { "name": { "type": "string", "description": "The name of the function to call." }, "arguments": { "type": "string", "description": "The arguments to call the function with, as generated by the model in JSON format." } }, "required": [ "name", "arguments" ], "example": "example_value" } }, "required": [ "id", "type", "function" ] }