{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/thoughtbox-ai/json-schema/thoughtbox-ai-update-request-schema.json",
  "title": "UpdateRequest",
  "x-generated": "2026-11-26",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/thoughtbox-ai-openapi.json#/components/schemas/UpdateRequest",
  "properties": {
    "name": {
      "anyOf": [
        {
          "type": "string",
          "maxLength": 100
        },
        {
          "type": "null"
        }
      ],
      "title": "Name"
    },
    "secret": {
      "anyOf": [
        {
          "type": "string",
          "maxLength": 4000
        },
        {
          "type": "null"
        }
      ],
      "title": "Secret"
    },
    "tools": {
      "anyOf": [
        {
          "items": {
            "$ref": "#/$defs/ToolPick"
          },
          "type": "array",
          "minItems": 1
        },
        {
          "type": "null"
        }
      ],
      "title": "Tools"
    },
    "auth_type": {
      "anyOf": [
        {
          "type": "string",
          "enum": [
            "none",
            "bearer",
            "header",
            "query",
            "oauth2"
          ]
        },
        {
          "type": "null"
        }
      ],
      "title": "Auth Type"
    },
    "auth_name": {
      "anyOf": [
        {
          "type": "string",
          "maxLength": 100
        },
        {
          "type": "null"
        }
      ],
      "title": "Auth Name"
    },
    "client_id": {
      "anyOf": [
        {
          "type": "string",
          "maxLength": 500
        },
        {
          "type": "null"
        }
      ],
      "title": "Client Id"
    },
    "client_secret": {
      "anyOf": [
        {
          "type": "string",
          "maxLength": 4000
        },
        {
          "type": "null"
        }
      ],
      "title": "Client Secret"
    },
    "access_values": {
      "anyOf": [
        {
          "additionalProperties": {
            "type": "string"
          },
          "type": "object"
        },
        {
          "type": "null"
        }
      ],
      "title": "Access Values"
    }
  },
  "type": "object",
  "$defs": {
    "ToolPick": {
      "properties": {
        "operation": {
          "type": "string",
          "maxLength": 2100,
          "title": "Operation"
        },
        "description": {
          "anyOf": [
            {
              "type": "string",
              "maxLength": 1000
            },
            {
              "type": "null"
            }
          ],
          "title": "Description"
        }
      },
      "type": "object",
      "required": [
        "operation"
      ],
      "title": "ToolPick"
    }
  }
}