{
  "$defs": {
    "AccountBalance": {
      "additionalProperties": false,
      "properties": {
        "object": {
          "const": "account.balance",
          "default": "account.balance",
          "title": "Object",
          "type": "string"
        },
        "account_id": {
          "title": "Account Id",
          "type": "string"
        },
        "promotional_micro": {
          "title": "Promotional Micro",
          "type": "integer"
        },
        "purchased_micro": {
          "title": "Purchased Micro",
          "type": "integer"
        },
        "unsettled_micro": {
          "title": "Unsettled Micro",
          "type": "integer"
        },
        "available_micro": {
          "title": "Available Micro",
          "type": "integer"
        }
      },
      "required": [
        "account_id",
        "promotional_micro",
        "purchased_micro",
        "unsettled_micro",
        "available_micro"
      ],
      "title": "AccountBalance",
      "type": "object"
    },
    "AccountUsage": {
      "additionalProperties": false,
      "properties": {
        "object": {
          "const": "account.usage",
          "default": "account.usage",
          "title": "Object",
          "type": "string"
        },
        "account_id": {
          "title": "Account Id",
          "type": "string"
        },
        "start": {
          "format": "date",
          "title": "Start",
          "type": "string"
        },
        "end": {
          "format": "date",
          "title": "End",
          "type": "string"
        },
        "quantities": {
          "items": {
            "$ref": "#/$defs/UsageQuantity"
          },
          "title": "Quantities",
          "type": "array"
        },
        "spend": {
          "items": {
            "$ref": "#/$defs/UsageSpend"
          },
          "title": "Spend",
          "type": "array"
        }
      },
      "required": [
        "account_id",
        "start",
        "end",
        "quantities",
        "spend"
      ],
      "title": "AccountUsage",
      "type": "object"
    },
    "AgentCreate": {
      "additionalProperties": false,
      "properties": {
        "model": {
          "minLength": 1,
          "title": "Model",
          "type": "string"
        },
        "instructions": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Instructions"
        },
        "tools": {
          "items": {
            "$ref": "#/$defs/FunctionTool"
          },
          "title": "Tools",
          "type": "array"
        },
        "multi_agent": {
          "$ref": "#/$defs/MultiAgentDisabled"
        },
        "reasoning": {
          "$ref": "#/$defs/DefaultReasoning"
        },
        "text": {
          "$ref": "#/$defs/DefaultText"
        },
        "service_tier": {
          "const": "auto",
          "default": "auto",
          "title": "Service Tier",
          "type": "string"
        },
        "ampersand": {
          "$ref": "#/$defs/AmpersandOptions",
          "description": "Optional Ampersand behavior; not part of the upstream OpenAI contract."
        },
        "name": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Name"
        },
        "metadata": {
          "additionalProperties": {
            "maxLength": 512,
            "type": "string"
          },
          "maxProperties": 16,
          "propertyNames": {
            "maxLength": 64
          },
          "title": "Metadata",
          "type": "object"
        }
      },
      "required": [
        "model"
      ],
      "title": "AgentCreate",
      "type": "object"
    },
    "AgentOverrides": {
      "additionalProperties": false,
      "properties": {
        "model": {
          "anyOf": [
            {
              "minLength": 1,
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Model"
        },
        "instructions": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Instructions"
        },
        "tools": {
          "anyOf": [
            {
              "items": {
                "$ref": "#/$defs/FunctionTool"
              },
              "type": "array"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Tools"
        },
        "multi_agent": {
          "anyOf": [
            {
              "$ref": "#/$defs/MultiAgentDisabled"
            },
            {
              "type": "null"
            }
          ],
          "default": null
        },
        "reasoning": {
          "anyOf": [
            {
              "$ref": "#/$defs/DefaultReasoning"
            },
            {
              "type": "null"
            }
          ],
          "default": null
        },
        "text": {
          "anyOf": [
            {
              "$ref": "#/$defs/DefaultText"
            },
            {
              "type": "null"
            }
          ],
          "default": null
        },
        "service_tier": {
          "anyOf": [
            {
              "const": "auto",
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Service Tier"
        },
        "ampersand": {
          "anyOf": [
            {
              "$ref": "#/$defs/AmpersandOptions"
            },
            {
              "type": "null"
            }
          ],
          "default": null
        }
      },
      "title": "AgentOverrides",
      "type": "object"
    },
    "AgentResource": {
      "additionalProperties": false,
      "properties": {
        "model": {
          "minLength": 1,
          "title": "Model",
          "type": "string"
        },
        "instructions": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Instructions"
        },
        "tools": {
          "items": {
            "$ref": "#/$defs/FunctionTool"
          },
          "title": "Tools",
          "type": "array"
        },
        "multi_agent": {
          "$ref": "#/$defs/MultiAgentDisabled"
        },
        "reasoning": {
          "$ref": "#/$defs/DefaultReasoning"
        },
        "text": {
          "$ref": "#/$defs/DefaultText"
        },
        "service_tier": {
          "const": "auto",
          "default": "auto",
          "title": "Service Tier",
          "type": "string"
        },
        "ampersand": {
          "$ref": "#/$defs/AmpersandOptions",
          "description": "Captured behavior; an absent value in an older snapshot means false."
        },
        "name": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Name"
        },
        "metadata": {
          "additionalProperties": {
            "maxLength": 512,
            "type": "string"
          },
          "maxProperties": 16,
          "propertyNames": {
            "maxLength": 64
          },
          "title": "Metadata",
          "type": "object"
        },
        "id": {
          "title": "Id",
          "type": "string"
        },
        "object": {
          "const": "agent",
          "default": "agent",
          "title": "Object",
          "type": "string"
        },
        "created_at": {
          "title": "Created At",
          "type": "integer"
        },
        "updated_at": {
          "title": "Updated At",
          "type": "integer"
        }
      },
      "required": [
        "model",
        "id",
        "created_at",
        "updated_at"
      ],
      "title": "AgentResource",
      "type": "object"
    },
    "AgentUpdate": {
      "additionalProperties": false,
      "properties": {
        "model": {
          "anyOf": [
            {
              "minLength": 1,
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Model"
        },
        "instructions": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Instructions"
        },
        "tools": {
          "anyOf": [
            {
              "items": {
                "$ref": "#/$defs/FunctionTool"
              },
              "type": "array"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Tools"
        },
        "multi_agent": {
          "anyOf": [
            {
              "$ref": "#/$defs/MultiAgentDisabled"
            },
            {
              "type": "null"
            }
          ],
          "default": null
        },
        "reasoning": {
          "anyOf": [
            {
              "$ref": "#/$defs/DefaultReasoning"
            },
            {
              "type": "null"
            }
          ],
          "default": null
        },
        "text": {
          "anyOf": [
            {
              "$ref": "#/$defs/DefaultText"
            },
            {
              "type": "null"
            }
          ],
          "default": null
        },
        "service_tier": {
          "anyOf": [
            {
              "const": "auto",
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Service Tier"
        },
        "ampersand": {
          "anyOf": [
            {
              "$ref": "#/$defs/AmpersandOptions"
            },
            {
              "type": "null"
            }
          ],
          "default": null
        },
        "name": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Name"
        },
        "metadata": {
          "anyOf": [
            {
              "additionalProperties": {
                "maxLength": 512,
                "type": "string"
              },
              "maxProperties": 16,
              "propertyNames": {
                "maxLength": 64
              },
              "type": "object"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Metadata"
        }
      },
      "title": "AgentUpdate",
      "type": "object"
    },
    "AmpersandOptions": {
      "additionalProperties": false,
      "properties": {
        "compaction": {
          "default": "auto",
          "description": "Use configured server compaction, or disable it for this agent.",
          "enum": [
            "auto",
            "disabled"
          ],
          "title": "Compaction",
          "type": "string"
        },
        "allow_silent_completion": {
          "default": true,
          "description": "Allow a successful empty response to finish without an assistant message.",
          "title": "Allow Silent Completion",
          "type": "boolean"
        }
      },
      "title": "AmpersandOptions",
      "type": "object"
    },
    "CancelInput": {
      "additionalProperties": false,
      "properties": {
        "type": {
          "const": "agent.session.input.cancel",
          "title": "Type",
          "type": "string"
        }
      },
      "required": [
        "type"
      ],
      "title": "CancelInput",
      "type": "object"
    },
    "ContentPartEvent": {
      "additionalProperties": false,
      "properties": {
        "type": {
          "enum": [
            "agent.session.turn.content_part.added",
            "agent.session.turn.content_part.done"
          ],
          "title": "Type",
          "type": "string"
        },
        "event_id": {
          "title": "Event Id",
          "type": "string"
        },
        "session_id": {
          "title": "Session Id",
          "type": "string"
        },
        "turn_id": {
          "title": "Turn Id",
          "type": "string"
        },
        "output_index": {
          "title": "Output Index",
          "type": "integer"
        },
        "item_id": {
          "title": "Item Id",
          "type": "string"
        },
        "content_index": {
          "title": "Content Index",
          "type": "integer"
        },
        "part": {
          "$ref": "#/$defs/OutputText"
        }
      },
      "required": [
        "type",
        "event_id",
        "session_id",
        "turn_id",
        "output_index",
        "item_id",
        "content_index",
        "part"
      ],
      "title": "ContentPartEvent",
      "type": "object"
    },
    "DefaultReasoning": {
      "additionalProperties": false,
      "properties": {
        "effort": {
          "anyOf": [
            {
              "enum": [
                "high",
                "max"
              ],
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Effort"
        },
        "summary": {
          "default": null,
          "title": "Summary",
          "type": "null"
        }
      },
      "title": "DefaultReasoning",
      "type": "object"
    },
    "DefaultText": {
      "additionalProperties": false,
      "properties": {
        "format": {
          "$ref": "#/$defs/TextFormat"
        },
        "verbosity": {
          "const": "medium",
          "default": "medium",
          "title": "Verbosity",
          "type": "string"
        }
      },
      "title": "DefaultText",
      "type": "object"
    },
    "ErrorEvent": {
      "additionalProperties": false,
      "properties": {
        "type": {
          "const": "error",
          "default": "error",
          "title": "Type",
          "type": "string"
        },
        "event_id": {
          "title": "Event Id",
          "type": "string"
        },
        "session_id": {
          "title": "Session Id",
          "type": "string"
        },
        "error": {
          "$ref": "#/$defs/SessionError"
        }
      },
      "required": [
        "event_id",
        "session_id",
        "error"
      ],
      "title": "ErrorEvent",
      "type": "object"
    },
    "EventMetadata": {
      "additionalProperties": {
        "$ref": "#/$defs/JsonValue"
      },
      "properties": {
        "id": {
          "anyOf": [
            {
              "minLength": 1,
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Id"
        },
        "source": {
          "anyOf": [
            {
              "minLength": 1,
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Source"
        },
        "channel": {
          "anyOf": [
            {
              "minLength": 1,
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Channel"
        },
        "sender": {
          "anyOf": [
            {
              "minLength": 1,
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Sender"
        },
        "timestamp": {
          "anyOf": [
            {
              "type": "number"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Timestamp"
        }
      },
      "title": "EventMetadata",
      "type": "object"
    },
    "EventsCreate": {
      "additionalProperties": false,
      "properties": {
        "events": {
          "items": {
            "discriminator": {
              "mapping": {
                "agent.session.input.cancel": "#/$defs/CancelInput",
                "agent.session.input.message": "#/$defs/MessageInput",
                "agent.session.input.tool_result": "#/$defs/ToolResultInput"
              },
              "propertyName": "type"
            },
            "oneOf": [
              {
                "$ref": "#/$defs/MessageInput"
              },
              {
                "$ref": "#/$defs/CancelInput"
              },
              {
                "$ref": "#/$defs/ToolResultInput"
              }
            ]
          },
          "maxItems": 256,
          "minItems": 1,
          "title": "Events",
          "type": "array"
        }
      },
      "required": [
        "events"
      ],
      "title": "EventsCreate",
      "type": "object"
    },
    "FunctionCallItem": {
      "additionalProperties": false,
      "properties": {
        "id": {
          "title": "Id",
          "type": "string"
        },
        "type": {
          "const": "function_call",
          "default": "function_call",
          "title": "Type",
          "type": "string"
        },
        "turn_id": {
          "title": "Turn Id",
          "type": "string"
        },
        "call_id": {
          "title": "Call Id",
          "type": "string"
        },
        "name": {
          "title": "Name",
          "type": "string"
        },
        "arguments": {
          "additionalProperties": {
            "$ref": "#/$defs/JsonValue"
          },
          "title": "Arguments",
          "type": "object"
        },
        "status": {
          "default": "in_progress",
          "enum": [
            "in_progress",
            "completed",
            "failed",
            "incomplete"
          ],
          "title": "Status",
          "type": "string"
        }
      },
      "required": [
        "id",
        "turn_id",
        "call_id",
        "name",
        "arguments"
      ],
      "title": "FunctionCallItem",
      "type": "object"
    },
    "FunctionResultItem": {
      "additionalProperties": false,
      "properties": {
        "id": {
          "title": "Id",
          "type": "string"
        },
        "type": {
          "const": "function_call_output",
          "default": "function_call_output",
          "title": "Type",
          "type": "string"
        },
        "turn_id": {
          "title": "Turn Id",
          "type": "string"
        },
        "call_id": {
          "title": "Call Id",
          "type": "string"
        },
        "output": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "items": {
                "discriminator": {
                  "mapping": {
                    "input_image": "#/$defs/InputImage",
                    "input_text": "#/$defs/InputText"
                  },
                  "propertyName": "type"
                },
                "oneOf": [
                  {
                    "$ref": "#/$defs/InputText"
                  },
                  {
                    "$ref": "#/$defs/InputImage"
                  }
                ]
              },
              "type": "array"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Output"
        },
        "error": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Error"
        },
        "status": {
          "enum": [
            "completed",
            "failed"
          ],
          "title": "Status",
          "type": "string"
        },
        "metadata": {
          "anyOf": [
            {
              "$ref": "#/$defs/EventMetadata"
            },
            {
              "type": "null"
            }
          ],
          "default": null
        }
      },
      "required": [
        "id",
        "turn_id",
        "call_id",
        "status"
      ],
      "title": "FunctionResultItem",
      "type": "object"
    },
    "FunctionTool": {
      "additionalProperties": false,
      "properties": {
        "type": {
          "const": "function",
          "default": "function",
          "title": "Type",
          "type": "string"
        },
        "name": {
          "maxLength": 96,
          "minLength": 1,
          "pattern": "^[a-zA-Z0-9_-]+$",
          "title": "Name",
          "type": "string"
        },
        "description": {
          "default": "",
          "title": "Description",
          "type": "string"
        },
        "parameters": {
          "additionalProperties": {
            "$ref": "#/$defs/JsonValue"
          },
          "title": "Parameters",
          "type": "object"
        },
        "defer_loading": {
          "const": false,
          "default": false,
          "title": "Defer Loading",
          "type": "boolean"
        }
      },
      "required": [
        "name",
        "parameters"
      ],
      "title": "FunctionTool",
      "type": "object"
    },
    "InputImage": {
      "additionalProperties": false,
      "properties": {
        "type": {
          "const": "input_image",
          "default": "input_image",
          "title": "Type",
          "type": "string"
        },
        "image_url": {
          "minLength": 1,
          "title": "Image Url",
          "type": "string"
        }
      },
      "required": [
        "image_url"
      ],
      "title": "InputImage",
      "type": "object"
    },
    "InputMessage": {
      "additionalProperties": false,
      "properties": {
        "role": {
          "const": "user",
          "title": "Role",
          "type": "string"
        },
        "content": {
          "items": {
            "discriminator": {
              "mapping": {
                "input_image": "#/$defs/InputImage",
                "input_text": "#/$defs/InputText"
              },
              "propertyName": "type"
            },
            "oneOf": [
              {
                "$ref": "#/$defs/InputText"
              },
              {
                "$ref": "#/$defs/InputImage"
              }
            ]
          },
          "minItems": 1,
          "title": "Content",
          "type": "array"
        },
        "type": {
          "const": "message",
          "default": "message",
          "title": "Type",
          "type": "string"
        },
        "metadata": {
          "anyOf": [
            {
              "$ref": "#/$defs/EventMetadata"
            },
            {
              "type": "null"
            }
          ],
          "default": null
        }
      },
      "required": [
        "role",
        "content"
      ],
      "title": "InputMessage",
      "type": "object"
    },
    "InputText": {
      "additionalProperties": false,
      "properties": {
        "type": {
          "const": "input_text",
          "default": "input_text",
          "title": "Type",
          "type": "string"
        },
        "text": {
          "title": "Text",
          "type": "string"
        }
      },
      "required": [
        "text"
      ],
      "title": "InputText",
      "type": "object"
    },
    "InputTokenDetails": {
      "additionalProperties": false,
      "properties": {
        "cached_tokens": {
          "minimum": 0,
          "title": "Cached Tokens",
          "type": "integer"
        }
      },
      "required": [
        "cached_tokens"
      ],
      "title": "InputTokenDetails",
      "type": "object"
    },
    "ItemAddedEvent": {
      "additionalProperties": false,
      "properties": {
        "type": {
          "const": "agent.session.turn.item.added",
          "default": "agent.session.turn.item.added",
          "title": "Type",
          "type": "string"
        },
        "event_id": {
          "title": "Event Id",
          "type": "string"
        },
        "session_id": {
          "title": "Session Id",
          "type": "string"
        },
        "turn_id": {
          "title": "Turn Id",
          "type": "string"
        },
        "output_index": {
          "anyOf": [
            {
              "type": "integer"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Output Index"
        },
        "item": {
          "discriminator": {
            "mapping": {
              "function_call": "#/$defs/FunctionCallItem",
              "function_call_output": "#/$defs/FunctionResultItem",
              "message": "#/$defs/MessageItem"
            },
            "propertyName": "type"
          },
          "oneOf": [
            {
              "$ref": "#/$defs/MessageItem"
            },
            {
              "$ref": "#/$defs/FunctionCallItem"
            },
            {
              "$ref": "#/$defs/FunctionResultItem"
            }
          ],
          "title": "Item"
        }
      },
      "required": [
        "event_id",
        "session_id",
        "turn_id",
        "item"
      ],
      "title": "ItemAddedEvent",
      "type": "object"
    },
    "ItemDoneEvent": {
      "additionalProperties": false,
      "properties": {
        "type": {
          "const": "agent.session.turn.item.done",
          "default": "agent.session.turn.item.done",
          "title": "Type",
          "type": "string"
        },
        "event_id": {
          "title": "Event Id",
          "type": "string"
        },
        "session_id": {
          "title": "Session Id",
          "type": "string"
        },
        "turn_id": {
          "title": "Turn Id",
          "type": "string"
        },
        "output_index": {
          "title": "Output Index",
          "type": "integer"
        },
        "item": {
          "anyOf": [
            {
              "$ref": "#/$defs/MessageItem"
            },
            {
              "$ref": "#/$defs/FunctionCallItem"
            }
          ],
          "title": "Item"
        }
      },
      "required": [
        "event_id",
        "session_id",
        "turn_id",
        "output_index",
        "item"
      ],
      "title": "ItemDoneEvent",
      "type": "object"
    },
    "JsonValue": {},
    "MessageInput": {
      "additionalProperties": false,
      "properties": {
        "type": {
          "const": "agent.session.input.message",
          "title": "Type",
          "type": "string"
        },
        "input": {
          "items": {
            "$ref": "#/$defs/InputMessage"
          },
          "minItems": 1,
          "title": "Input",
          "type": "array"
        }
      },
      "required": [
        "type",
        "input"
      ],
      "title": "MessageInput",
      "type": "object"
    },
    "MessageItem": {
      "additionalProperties": false,
      "properties": {
        "id": {
          "title": "Id",
          "type": "string"
        },
        "type": {
          "const": "message",
          "default": "message",
          "title": "Type",
          "type": "string"
        },
        "turn_id": {
          "title": "Turn Id",
          "type": "string"
        },
        "role": {
          "enum": [
            "user",
            "assistant"
          ],
          "title": "Role",
          "type": "string"
        },
        "content": {
          "items": {
            "anyOf": [
              {
                "discriminator": {
                  "mapping": {
                    "input_image": "#/$defs/InputImage",
                    "input_text": "#/$defs/InputText"
                  },
                  "propertyName": "type"
                },
                "oneOf": [
                  {
                    "$ref": "#/$defs/InputText"
                  },
                  {
                    "$ref": "#/$defs/InputImage"
                  }
                ]
              },
              {
                "$ref": "#/$defs/OutputText"
              }
            ]
          },
          "title": "Content",
          "type": "array"
        },
        "phase": {
          "anyOf": [
            {
              "enum": [
                "commentary",
                "final_answer"
              ],
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Phase"
        },
        "status": {
          "default": "completed",
          "enum": [
            "in_progress",
            "completed",
            "incomplete"
          ],
          "title": "Status",
          "type": "string"
        },
        "metadata": {
          "anyOf": [
            {
              "$ref": "#/$defs/EventMetadata"
            },
            {
              "type": "null"
            }
          ],
          "default": null
        }
      },
      "required": [
        "id",
        "turn_id",
        "role",
        "content"
      ],
      "title": "MessageItem",
      "type": "object"
    },
    "Meter": {
      "enum": [
        "input_tokens",
        "cached_input_tokens",
        "output_tokens"
      ],
      "title": "Meter",
      "type": "string"
    },
    "ModelList": {
      "additionalProperties": false,
      "description": "The models list is one unpaged page, as in the upstream API.",
      "properties": {
        "object": {
          "const": "list",
          "default": "list",
          "title": "Object",
          "type": "string"
        },
        "data": {
          "items": {
            "$ref": "#/$defs/ModelResource"
          },
          "title": "Data",
          "type": "array"
        }
      },
      "required": [
        "data"
      ],
      "title": "ModelList",
      "type": "object"
    },
    "ModelResource": {
      "additionalProperties": false,
      "properties": {
        "id": {
          "title": "Id",
          "type": "string"
        },
        "object": {
          "const": "model",
          "default": "model",
          "title": "Object",
          "type": "string"
        },
        "created": {
          "const": 0,
          "default": 0,
          "title": "Created",
          "type": "integer"
        },
        "owned_by": {
          "title": "Owned By",
          "type": "string"
        }
      },
      "required": [
        "id",
        "owned_by"
      ],
      "title": "ModelResource",
      "type": "object"
    },
    "MultiAgentDisabled": {
      "additionalProperties": false,
      "properties": {
        "enabled": {
          "const": false,
          "default": false,
          "title": "Enabled",
          "type": "boolean"
        },
        "max_concurrent_subagents": {
          "default": null,
          "title": "Max Concurrent Subagents",
          "type": "null"
        }
      },
      "title": "MultiAgentDisabled",
      "type": "object"
    },
    "NoEnvironment": {
      "additionalProperties": false,
      "properties": {
        "type": {
          "const": "none",
          "title": "Type",
          "type": "string"
        }
      },
      "required": [
        "type"
      ],
      "title": "NoEnvironment",
      "type": "object"
    },
    "OutputText": {
      "additionalProperties": false,
      "properties": {
        "type": {
          "const": "output_text",
          "default": "output_text",
          "title": "Type",
          "type": "string"
        },
        "text": {
          "title": "Text",
          "type": "string"
        }
      },
      "required": [
        "text"
      ],
      "title": "OutputText",
      "type": "object"
    },
    "OutputTextDeltaEvent": {
      "additionalProperties": false,
      "properties": {
        "type": {
          "const": "agent.session.turn.output_text.delta",
          "default": "agent.session.turn.output_text.delta",
          "title": "Type",
          "type": "string"
        },
        "event_id": {
          "title": "Event Id",
          "type": "string"
        },
        "session_id": {
          "title": "Session Id",
          "type": "string"
        },
        "turn_id": {
          "title": "Turn Id",
          "type": "string"
        },
        "output_index": {
          "title": "Output Index",
          "type": "integer"
        },
        "item_id": {
          "title": "Item Id",
          "type": "string"
        },
        "content_index": {
          "title": "Content Index",
          "type": "integer"
        },
        "delta": {
          "title": "Delta",
          "type": "string"
        }
      },
      "required": [
        "event_id",
        "session_id",
        "turn_id",
        "output_index",
        "item_id",
        "content_index",
        "delta"
      ],
      "title": "OutputTextDeltaEvent",
      "type": "object"
    },
    "OutputTextEvent": {
      "additionalProperties": false,
      "properties": {
        "type": {
          "const": "agent.session.turn.output_text.done",
          "default": "agent.session.turn.output_text.done",
          "title": "Type",
          "type": "string"
        },
        "event_id": {
          "title": "Event Id",
          "type": "string"
        },
        "session_id": {
          "title": "Session Id",
          "type": "string"
        },
        "turn_id": {
          "title": "Turn Id",
          "type": "string"
        },
        "output_index": {
          "title": "Output Index",
          "type": "integer"
        },
        "item_id": {
          "title": "Item Id",
          "type": "string"
        },
        "content_index": {
          "title": "Content Index",
          "type": "integer"
        },
        "text": {
          "title": "Text",
          "type": "string"
        }
      },
      "required": [
        "event_id",
        "session_id",
        "turn_id",
        "output_index",
        "item_id",
        "content_index",
        "text"
      ],
      "title": "OutputTextEvent",
      "type": "object"
    },
    "OutputTokenDetails": {
      "additionalProperties": false,
      "properties": {
        "reasoning_tokens": {
          "minimum": 0,
          "title": "Reasoning Tokens",
          "type": "integer"
        }
      },
      "required": [
        "reasoning_tokens"
      ],
      "title": "OutputTokenDetails",
      "type": "object"
    },
    "PageQuery": {
      "additionalProperties": false,
      "properties": {
        "after": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "After"
        },
        "limit": {
          "default": 20,
          "maximum": 100,
          "minimum": 1,
          "title": "Limit",
          "type": "integer"
        },
        "order": {
          "$ref": "#/$defs/SortOrder",
          "default": "desc"
        }
      },
      "title": "PageQuery",
      "type": "object"
    },
    "ResourcePage_AgentResource_": {
      "additionalProperties": false,
      "properties": {
        "object": {
          "const": "list",
          "default": "list",
          "title": "Object",
          "type": "string"
        },
        "data": {
          "items": {
            "$ref": "#/$defs/AgentResource"
          },
          "title": "Data",
          "type": "array"
        },
        "first_id": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "First Id"
        },
        "last_id": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Last Id"
        },
        "has_more": {
          "title": "Has More",
          "type": "boolean"
        }
      },
      "required": [
        "data",
        "first_id",
        "last_id",
        "has_more"
      ],
      "title": "ResourcePage[AgentResource]",
      "type": "object"
    },
    "ResourcePage_Annotated_Union_MessageItem__FunctionCallItem__FunctionResultItem___FieldInfo_annotation_NoneType__required_True__discriminator__type____": {
      "additionalProperties": false,
      "properties": {
        "object": {
          "const": "list",
          "default": "list",
          "title": "Object",
          "type": "string"
        },
        "data": {
          "items": {
            "discriminator": {
              "mapping": {
                "function_call": "#/$defs/FunctionCallItem",
                "function_call_output": "#/$defs/FunctionResultItem",
                "message": "#/$defs/MessageItem"
              },
              "propertyName": "type"
            },
            "oneOf": [
              {
                "$ref": "#/$defs/MessageItem"
              },
              {
                "$ref": "#/$defs/FunctionCallItem"
              },
              {
                "$ref": "#/$defs/FunctionResultItem"
              }
            ]
          },
          "title": "Data",
          "type": "array"
        },
        "first_id": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "First Id"
        },
        "last_id": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Last Id"
        },
        "has_more": {
          "title": "Has More",
          "type": "boolean"
        }
      },
      "required": [
        "data",
        "first_id",
        "last_id",
        "has_more"
      ],
      "title": "ResourcePage[Annotated[Union[MessageItem, FunctionCallItem, FunctionResultItem], FieldInfo(annotation=NoneType, required=True, discriminator='type')]]",
      "type": "object"
    },
    "ResourcePage_SessionResource_": {
      "additionalProperties": false,
      "properties": {
        "object": {
          "const": "list",
          "default": "list",
          "title": "Object",
          "type": "string"
        },
        "data": {
          "items": {
            "$ref": "#/$defs/SessionResource"
          },
          "title": "Data",
          "type": "array"
        },
        "first_id": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "First Id"
        },
        "last_id": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Last Id"
        },
        "has_more": {
          "title": "Has More",
          "type": "boolean"
        }
      },
      "required": [
        "data",
        "first_id",
        "last_id",
        "has_more"
      ],
      "title": "ResourcePage[SessionResource]",
      "type": "object"
    },
    "ResourcePage_TurnResource_": {
      "additionalProperties": false,
      "properties": {
        "object": {
          "const": "list",
          "default": "list",
          "title": "Object",
          "type": "string"
        },
        "data": {
          "items": {
            "$ref": "#/$defs/TurnResource"
          },
          "title": "Data",
          "type": "array"
        },
        "first_id": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "First Id"
        },
        "last_id": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Last Id"
        },
        "has_more": {
          "title": "Has More",
          "type": "boolean"
        }
      },
      "required": [
        "data",
        "first_id",
        "last_id",
        "has_more"
      ],
      "title": "ResourcePage[TurnResource]",
      "type": "object"
    },
    "SessionAgent": {
      "additionalProperties": false,
      "properties": {
        "model": {
          "minLength": 1,
          "title": "Model",
          "type": "string"
        },
        "instructions": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Instructions"
        },
        "tools": {
          "items": {
            "$ref": "#/$defs/FunctionTool"
          },
          "title": "Tools",
          "type": "array"
        },
        "multi_agent": {
          "$ref": "#/$defs/MultiAgentDisabled"
        },
        "reasoning": {
          "$ref": "#/$defs/DefaultReasoning"
        },
        "text": {
          "$ref": "#/$defs/DefaultText"
        },
        "service_tier": {
          "const": "auto",
          "default": "auto",
          "title": "Service Tier",
          "type": "string"
        },
        "ampersand": {
          "$ref": "#/$defs/AmpersandOptions",
          "description": "Captured behavior; an absent value in an older snapshot means false."
        },
        "name": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Name"
        },
        "id": {
          "title": "Id",
          "type": "string"
        }
      },
      "required": [
        "model",
        "id"
      ],
      "title": "SessionAgent",
      "type": "object"
    },
    "SessionAgentUpdate": {
      "additionalProperties": false,
      "properties": {
        "reasoning": {
          "$ref": "#/$defs/SessionReasoningUpdate"
        }
      },
      "title": "SessionAgentUpdate",
      "type": "object"
    },
    "SessionContext": {
      "additionalProperties": false,
      "properties": {
        "object": {
          "const": "agent.session.context",
          "default": "agent.session.context",
          "title": "Object",
          "type": "string"
        },
        "session_id": {
          "title": "Session Id",
          "type": "string"
        },
        "input_tokens": {
          "anyOf": [
            {
              "type": "integer"
            },
            {
              "type": "null"
            }
          ],
          "description": "Input tokens of the latest completed reply; null when it has no usage.",
          "title": "Input Tokens"
        }
      },
      "required": [
        "session_id",
        "input_tokens"
      ],
      "title": "SessionContext",
      "type": "object"
    },
    "SessionCreate": {
      "additionalProperties": false,
      "properties": {
        "environment": {
          "$ref": "#/$defs/NoEnvironment"
        },
        "agent": {
          "anyOf": [
            {
              "$ref": "#/$defs/AgentOverrides"
            },
            {
              "type": "null"
            }
          ],
          "default": null
        },
        "agent_id": {
          "anyOf": [
            {
              "minLength": 1,
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Agent Id"
        },
        "input": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "items": {
                "$ref": "#/$defs/InputMessage"
              },
              "type": "array"
            }
          ],
          "title": "Input"
        },
        "metadata": {
          "anyOf": [
            {
              "additionalProperties": {
                "maxLength": 512,
                "type": "string"
              },
              "maxProperties": 16,
              "propertyNames": {
                "maxLength": 64
              },
              "type": "object"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Metadata"
        },
        "vault_ids": {
          "anyOf": [
            {
              "items": {
                "type": "string"
              },
              "maxItems": 0,
              "type": "array"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Vault Ids"
        },
        "stream": {
          "default": false,
          "title": "Stream",
          "type": "boolean"
        }
      },
      "required": [
        "environment",
        "input"
      ],
      "title": "SessionCreate",
      "type": "object"
    },
    "SessionError": {
      "additionalProperties": false,
      "properties": {
        "type": {
          "default": "server_error",
          "title": "Type",
          "type": "string"
        },
        "code": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Code"
        },
        "message": {
          "title": "Message",
          "type": "string"
        },
        "param": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Param"
        }
      },
      "required": [
        "message"
      ],
      "title": "SessionError",
      "type": "object"
    },
    "SessionEvent": {
      "additionalProperties": false,
      "properties": {
        "type": {
          "enum": [
            "agent.session.created",
            "agent.session.in_progress",
            "agent.session.requires_action",
            "agent.session.idle",
            "agent.session.failed"
          ],
          "title": "Type",
          "type": "string"
        },
        "event_id": {
          "title": "Event Id",
          "type": "string"
        },
        "session": {
          "$ref": "#/$defs/SessionResource"
        }
      },
      "required": [
        "type",
        "event_id",
        "session"
      ],
      "title": "SessionEvent",
      "type": "object"
    },
    "SessionReasoningUpdate": {
      "additionalProperties": false,
      "properties": {
        "effort": {
          "anyOf": [
            {
              "enum": [
                "high",
                "max"
              ],
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Effort"
        }
      },
      "title": "SessionReasoningUpdate",
      "type": "object"
    },
    "SessionResource": {
      "additionalProperties": false,
      "properties": {
        "id": {
          "title": "Id",
          "type": "string"
        },
        "object": {
          "const": "agent.session",
          "default": "agent.session",
          "title": "Object",
          "type": "string"
        },
        "agent": {
          "$ref": "#/$defs/SessionAgent"
        },
        "environment": {
          "$ref": "#/$defs/NoEnvironment"
        },
        "created_at": {
          "title": "Created At",
          "type": "integer"
        },
        "last_active_at": {
          "title": "Last Active At",
          "type": "integer"
        },
        "metadata": {
          "additionalProperties": {
            "maxLength": 512,
            "type": "string"
          },
          "maxProperties": 16,
          "propertyNames": {
            "maxLength": 64
          },
          "title": "Metadata",
          "type": "object"
        },
        "vault_ids": {
          "items": {
            "type": "string"
          },
          "title": "Vault Ids",
          "type": "array"
        },
        "status": {
          "enum": [
            "idle",
            "in_progress",
            "requires_action",
            "failed"
          ],
          "title": "Status",
          "type": "string"
        },
        "error": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Error"
        },
        "required_actions": {
          "items": {
            "$ref": "#/$defs/ampersand_harness__contracts__resources__RequiredAction"
          },
          "title": "Required Actions",
          "type": "array"
        },
        "usage": {
          "anyOf": [
            {
              "$ref": "#/$defs/TokenUsage"
            },
            {
              "type": "null"
            }
          ],
          "default": null
        }
      },
      "required": [
        "id",
        "agent",
        "created_at",
        "last_active_at",
        "status"
      ],
      "title": "SessionResource",
      "type": "object"
    },
    "SessionUpdate": {
      "additionalProperties": false,
      "properties": {
        "agent": {
          "$ref": "#/$defs/SessionAgentUpdate"
        },
        "metadata": {
          "anyOf": [
            {
              "additionalProperties": {
                "maxLength": 512,
                "type": "string"
              },
              "maxProperties": 16,
              "propertyNames": {
                "maxLength": 64
              },
              "type": "object"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Metadata"
        }
      },
      "title": "SessionUpdate",
      "type": "object"
    },
    "SortOrder": {
      "enum": [
        "asc",
        "desc"
      ],
      "title": "SortOrder",
      "type": "string"
    },
    "TextFormat": {
      "additionalProperties": false,
      "properties": {
        "type": {
          "const": "text",
          "default": "text",
          "title": "Type",
          "type": "string"
        }
      },
      "title": "TextFormat",
      "type": "object"
    },
    "TokenUsage": {
      "additionalProperties": false,
      "properties": {
        "input_tokens": {
          "minimum": 0,
          "title": "Input Tokens",
          "type": "integer"
        },
        "input_tokens_details": {
          "$ref": "#/$defs/InputTokenDetails"
        },
        "output_tokens": {
          "minimum": 0,
          "title": "Output Tokens",
          "type": "integer"
        },
        "output_tokens_details": {
          "$ref": "#/$defs/OutputTokenDetails"
        },
        "total_tokens": {
          "minimum": 0,
          "title": "Total Tokens",
          "type": "integer"
        }
      },
      "required": [
        "input_tokens",
        "input_tokens_details",
        "output_tokens",
        "output_tokens_details",
        "total_tokens"
      ],
      "title": "TokenUsage",
      "type": "object"
    },
    "ToolResultInput": {
      "additionalProperties": false,
      "properties": {
        "type": {
          "const": "agent.session.input.tool_result",
          "title": "Type",
          "type": "string"
        },
        "turn_id": {
          "minLength": 1,
          "title": "Turn Id",
          "type": "string"
        },
        "call_id": {
          "minLength": 1,
          "title": "Call Id",
          "type": "string"
        },
        "success": {
          "title": "Success",
          "type": "boolean"
        },
        "output": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "items": {
                "discriminator": {
                  "mapping": {
                    "input_image": "#/$defs/InputImage",
                    "input_text": "#/$defs/InputText"
                  },
                  "propertyName": "type"
                },
                "oneOf": [
                  {
                    "$ref": "#/$defs/InputText"
                  },
                  {
                    "$ref": "#/$defs/InputImage"
                  }
                ]
              },
              "type": "array"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Output"
        },
        "error": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Error"
        },
        "metadata": {
          "anyOf": [
            {
              "$ref": "#/$defs/EventMetadata"
            },
            {
              "type": "null"
            }
          ],
          "default": null
        }
      },
      "required": [
        "type",
        "turn_id",
        "call_id",
        "success"
      ],
      "title": "ToolResultInput",
      "type": "object"
    },
    "TurnError": {
      "additionalProperties": false,
      "properties": {
        "code": {
          "enum": [
            "server_error",
            "context_length_exceeded",
            "session_budget_exceeded",
            "invalid_request",
            "insufficient_credit",
            "access_denied",
            "billing_request_in_progress",
            "access_unavailable"
          ],
          "title": "Code",
          "type": "string"
        },
        "message": {
          "title": "Message",
          "type": "string"
        }
      },
      "required": [
        "code",
        "message"
      ],
      "title": "TurnError",
      "type": "object"
    },
    "TurnEvent": {
      "additionalProperties": false,
      "properties": {
        "type": {
          "enum": [
            "agent.session.turn.created",
            "agent.session.turn.in_progress",
            "agent.session.turn.completed",
            "agent.session.turn.failed",
            "agent.session.turn.cancelled"
          ],
          "title": "Type",
          "type": "string"
        },
        "event_id": {
          "title": "Event Id",
          "type": "string"
        },
        "session_id": {
          "title": "Session Id",
          "type": "string"
        },
        "turn_id": {
          "title": "Turn Id",
          "type": "string"
        },
        "turn": {
          "$ref": "#/$defs/TurnResource"
        },
        "usage": {
          "anyOf": [
            {
              "$ref": "#/$defs/TokenUsage"
            },
            {
              "type": "null"
            }
          ],
          "default": null
        }
      },
      "required": [
        "type",
        "event_id",
        "session_id",
        "turn_id",
        "turn"
      ],
      "title": "TurnEvent",
      "type": "object"
    },
    "TurnResource": {
      "additionalProperties": false,
      "properties": {
        "id": {
          "title": "Id",
          "type": "string"
        },
        "object": {
          "const": "agent.session.turn",
          "default": "agent.session.turn",
          "title": "Object",
          "type": "string"
        },
        "session_id": {
          "title": "Session Id",
          "type": "string"
        },
        "agent_id": {
          "title": "Agent Id",
          "type": "string"
        },
        "subagent_id": {
          "default": null,
          "title": "Subagent Id",
          "type": "null"
        },
        "created_at": {
          "title": "Created At",
          "type": "integer"
        },
        "started_at": {
          "anyOf": [
            {
              "type": "integer"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Started At"
        },
        "completed_at": {
          "anyOf": [
            {
              "type": "integer"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Completed At"
        },
        "status": {
          "enum": [
            "queued",
            "in_progress",
            "waiting",
            "completed",
            "failed",
            "cancelled"
          ],
          "title": "Status",
          "type": "string"
        },
        "error": {
          "anyOf": [
            {
              "$ref": "#/$defs/TurnError"
            },
            {
              "type": "null"
            }
          ],
          "default": null
        },
        "usage": {
          "anyOf": [
            {
              "$ref": "#/$defs/TokenUsage"
            },
            {
              "type": "null"
            }
          ],
          "default": null
        }
      },
      "required": [
        "id",
        "session_id",
        "agent_id",
        "created_at",
        "status"
      ],
      "title": "TurnResource",
      "type": "object"
    },
    "UsageQuantity": {
      "additionalProperties": false,
      "properties": {
        "day": {
          "format": "date",
          "title": "Day",
          "type": "string"
        },
        "key_id": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Key Id"
        },
        "model": {
          "title": "Model",
          "type": "string"
        },
        "meter": {
          "$ref": "#/$defs/Meter"
        },
        "quantity": {
          "title": "Quantity",
          "type": "integer"
        }
      },
      "required": [
        "day",
        "key_id",
        "model",
        "meter",
        "quantity"
      ],
      "title": "UsageQuantity",
      "type": "object"
    },
    "UsageSpend": {
      "additionalProperties": false,
      "properties": {
        "day": {
          "format": "date",
          "title": "Day",
          "type": "string"
        },
        "key_id": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Key Id"
        },
        "spent_micro": {
          "title": "Spent Micro",
          "type": "integer"
        },
        "requests": {
          "title": "Requests",
          "type": "integer"
        }
      },
      "required": [
        "day",
        "key_id",
        "spent_micro",
        "requests"
      ],
      "title": "UsageSpend",
      "type": "object"
    },
    "WebhookData": {
      "additionalProperties": false,
      "properties": {
        "id": {
          "title": "Id",
          "type": "string"
        },
        "required_action": {
          "anyOf": [
            {
              "$ref": "#/$defs/ampersand_harness__webhooks__models__RequiredAction"
            },
            {
              "type": "null"
            }
          ],
          "default": null
        }
      },
      "required": [
        "id"
      ],
      "title": "WebhookData",
      "type": "object"
    },
    "WebhookEvent": {
      "additionalProperties": false,
      "properties": {
        "id": {
          "title": "Id",
          "type": "string"
        },
        "object": {
          "const": "event",
          "default": "event",
          "title": "Object",
          "type": "string"
        },
        "created_at": {
          "title": "Created At",
          "type": "integer"
        },
        "type": {
          "$ref": "#/$defs/WebhookType"
        },
        "data": {
          "$ref": "#/$defs/WebhookData"
        }
      },
      "required": [
        "id",
        "created_at",
        "type",
        "data"
      ],
      "title": "WebhookEvent",
      "type": "object"
    },
    "WebhookType": {
      "enum": [
        "agent.session.created",
        "agent.session.action_required",
        "agent.session.in_progress",
        "agent.session.idle",
        "agent.session.failed"
      ],
      "title": "WebhookType",
      "type": "string"
    },
    "ampersand_harness__contracts__resources__RequiredAction": {
      "additionalProperties": false,
      "properties": {
        "type": {
          "const": "function_call",
          "default": "function_call",
          "title": "Type",
          "type": "string"
        },
        "turn_id": {
          "title": "Turn Id",
          "type": "string"
        },
        "call_id": {
          "title": "Call Id",
          "type": "string"
        },
        "name": {
          "title": "Name",
          "type": "string"
        },
        "arguments": {
          "additionalProperties": {
            "$ref": "#/$defs/JsonValue"
          },
          "title": "Arguments",
          "type": "object"
        }
      },
      "required": [
        "turn_id",
        "call_id",
        "name",
        "arguments"
      ],
      "title": "RequiredAction",
      "type": "object"
    },
    "ampersand_harness__webhooks__models__RequiredAction": {
      "additionalProperties": false,
      "properties": {
        "type": {
          "const": "function_call",
          "default": "function_call",
          "title": "Type",
          "type": "string"
        }
      },
      "title": "RequiredAction",
      "type": "object"
    }
  },
  "title": "Ampersand Agents API field definitions",
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
