{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/tembo/main/json-schema/tembo-agent-options-input-schema.json",
  "title": "AgentOptionsInput",
  "description": "Execution settings for the selected agent runtime, including provider-specific options.",
  "x-generated": "2026-10-13",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/tembo-openapi.yml#/components/schemas/AgentOptionsInput",
  "anyOf": [
    {
      "type": "object",
      "properties": {
        "reasoningLevel": {
          "type": "string",
          "minLength": 1,
          "maxLength": 100
        },
        "mode": {
          "type": "string",
          "enum": [
            "normal",
            "planning"
          ]
        },
        "speed": {
          "type": "string",
          "enum": [
            "normal",
            "fast",
            "ultrafast"
          ]
        },
        "goal": {
          "type": "object",
          "properties": {
            "enabled": {
              "type": "boolean"
            },
            "objective": {
              "type": "string",
              "maxLength": 100000
            }
          },
          "additionalProperties": false
        }
      },
      "additionalProperties": true
    },
    {
      "$ref": "#/$defs/RuntimeAgentOptions"
    }
  ],
  "$defs": {
    "RuntimeAgentOptions": {
      "type": "object",
      "additionalProperties": {},
      "description": "Runtime-specific execution settings and provider extensions."
    }
  }
}