{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "#/components/schemas/ToolCall",
"title": "ToolCall",
"type": "object",
"properties": {
"id": {
"type": "string",
"description": "The ID of the tool call."
},
"type": {
"type": "string",
"enum": [
"function"
],
"description": "The type of the tool call."
},
"function": {
"type": "object",
"properties": {
"name": {
"type": "string",
"description": "The name of the function to call."
},
"arguments": {
"type": "string",
"description": "The arguments to call the function with, as a JSON string."
}
}
}
}
}