ToolItem
Тип: object
| Поле | Обязательное | Тип | Описание и ограничения |
|---|---|---|---|
tool_call | Да | ToolCall | |
type | Да | string | const: "tool_call"default: "tool_call" |
JSON Schema
json
{
"properties": {
"tool_call": {
"$ref": "#/components/schemas/ToolCall"
},
"type": {
"const": "tool_call",
"default": "tool_call",
"title": "Type",
"type": "string"
}
},
"required": [
"tool_call",
"type"
],
"title": "ToolItem",
"type": "object"
}