{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "#/components/schemas/ToolCall",
"title": "ToolCall",
"additionalProperties": false,
"properties": {
"index": {
"title": "Index",
"type": "integer",
"description": "The index of this tool call in the list of tool calls."
},
"id": {
"title": "Id",
"type": "string",
"description": "A unique identifier for this tool call."
},
"type": {
"const": "function",
"default": "function",
"title": "Type",
"type": "string",
"description": "The type of tool call (always `function`)."
},
"function": {
"$ref": "#/components/schemas/FunctionCall",
"description": "The function that the model called."
}
},
"required": [
"index",
"function"
],
"type": "object",
"description": "A tool call generated by the model."
}