К содержимому

ToolItem ​

Тип: object

ПолеОбязательноеТипОписание и ограничения
tool_callДаToolCall
typeДаstringconst: "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"
}

Все схемы · HTTP API