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

ToolResult ​

Тип: TextResult / JSONResult / TruncatedResult

JSON Schema ​

json
{
  "discriminator": {
    "mapping": {
      "json": "#/components/schemas/JSONResult",
      "text": "#/components/schemas/TextResult",
      "truncated_text": "#/components/schemas/TruncatedResult"
    },
    "propertyName": "type"
  },
  "oneOf": [
    {
      "$ref": "#/components/schemas/TextResult"
    },
    {
      "$ref": "#/components/schemas/JSONResult"
    },
    {
      "$ref": "#/components/schemas/TruncatedResult"
    }
  ]
}

Все схемы · HTTP API