{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/scale-ai/json-schema/scale-ai-response-request-schema.json",
  "title": "ResponseRequest",
  "x-generated": "2026-10-27",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/scale-ai-sgp-v5-openapi.yml#/components/schemas/ResponseRequest",
  "properties": {
    "include": {
      "title": "Include",
      "description": "Which fields to include in the response",
      "items": {
        "type": "string"
      },
      "type": "array"
    },
    "instructions": {
      "title": "Instructions",
      "description": "Instructions for the response generation",
      "type": "string"
    },
    "max_output_tokens": {
      "title": "Max Output Tokens",
      "description": "Maximum number of output tokens",
      "type": "integer"
    },
    "metadata": {
      "title": "Metadata",
      "description": "Metadata for the response",
      "additionalProperties": true,
      "type": "object"
    },
    "parallel_tool_calls": {
      "title": "Parallel Tool Calls",
      "description": "Whether to enable parallel tool calls",
      "type": "boolean"
    },
    "previous_response_id": {
      "title": "Previous Response Id",
      "description": "ID of the previous response for chaining",
      "type": "string"
    },
    "reasoning": {
      "title": "Reasoning",
      "description": "Reasoning configuration for the response",
      "additionalProperties": true,
      "type": "object"
    },
    "store": {
      "title": "Store",
      "description": "Whether to store the response",
      "type": "boolean"
    },
    "stream": {
      "title": "Stream",
      "description": "Whether to stream the response",
      "type": "boolean"
    },
    "temperature": {
      "title": "Temperature",
      "description": "Sampling temperature for randomness control",
      "type": "number",
      "maximum": 2,
      "minimum": 0
    },
    "text": {
      "title": "Text",
      "description": "Text configuration parameters",
      "additionalProperties": true,
      "type": "object"
    },
    "tool_choice": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "additionalProperties": true,
          "type": "object"
        }
      ],
      "title": "Tool Choice",
      "description": "Tool choice configuration"
    },
    "tools": {
      "title": "Tools",
      "description": "Tools available for the response",
      "items": {
        "additionalProperties": true,
        "type": "object"
      },
      "type": "array"
    },
    "top_p": {
      "title": "Top P",
      "description": "Top-p sampling parameter",
      "type": "number",
      "maximum": 1,
      "minimum": 0
    },
    "truncation": {
      "title": "Truncation",
      "description": "Truncation configuration",
      "type": "string",
      "enum": [
        "auto",
        "disabled"
      ]
    },
    "model": {
      "type": "string",
      "title": "Model",
      "description": "model specified as `model_vendor/model`, for example `openai/gpt-4o`"
    },
    "input": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "items": {
            "anyOf": [
              {
                "$ref": "#/$defs/EasyInputMessageParam"
              },
              {
                "$ref": "#/$defs/openai__types__responses__response_input_param__Message"
              },
              {
                "$ref": "#/$defs/ResponseOutputMessageParam"
              },
              {
                "$ref": "#/$defs/ResponseFileSearchToolCallParam"
              },
              {
                "$ref": "#/$defs/ResponseComputerToolCallParam"
              },
              {
                "$ref": "#/$defs/openai__types__responses__response_input_param__ComputerCallOutput"
              },
              {
                "$ref": "#/$defs/ResponseFunctionWebSearchParam"
              },
              {
                "$ref": "#/$defs/ResponseFunctionToolCallParam"
              },
              {
                "$ref": "#/$defs/openai__types__responses__response_input_param__FunctionCallOutput"
              },
              {
                "$ref": "#/$defs/ResponseReasoningItemParam"
              },
              {
                "$ref": "#/$defs/ResponseCompactionItemParamParam"
              },
              {
                "$ref": "#/$defs/openai__types__responses__response_input_param__ImageGenerationCall"
              },
              {
                "$ref": "#/$defs/ResponseCodeInterpreterToolCallParam"
              },
              {
                "$ref": "#/$defs/openai__types__responses__response_input_param__LocalShellCall"
              },
              {
                "$ref": "#/$defs/openai__types__responses__response_input_param__LocalShellCallOutput"
              },
              {
                "$ref": "#/$defs/openai__types__responses__response_input_param__ShellCall"
              },
              {
                "$ref": "#/$defs/openai__types__responses__response_input_param__ShellCallOutput"
              },
              {
                "$ref": "#/$defs/openai__types__responses__response_input_param__ApplyPatchCall"
              },
              {
                "$ref": "#/$defs/openai__types__responses__response_input_param__ApplyPatchCallOutput"
              },
              {
                "$ref": "#/$defs/openai__types__responses__response_input_param__McpListTools"
              },
              {
                "$ref": "#/$defs/McpApprovalRequest"
              },
              {
                "$ref": "#/$defs/openai__types__responses__response_input_param__McpApprovalResponse"
              },
              {
                "$ref": "#/$defs/openai__types__responses__response_input_param__McpCall"
              },
              {
                "$ref": "#/$defs/ResponseCustomToolCallOutputParam"
              },
              {
                "$ref": "#/$defs/ResponseCustomToolCallParam"
              },
              {
                "$ref": "#/$defs/openai__types__responses__response_input_param__ItemReference"
              }
            ]
          },
          "type": "array"
        }
      ],
      "title": "Input"
    }
  },
  "additionalProperties": true,
  "type": "object",
  "required": [
    "model",
    "input"
  ],
  "$defs": {
    "ActionClick": {
      "properties": {
        "button": {
          "type": "string",
          "enum": [
            "left",
            "right",
            "wheel",
            "back",
            "forward"
          ],
          "title": "Button"
        },
        "type": {
          "type": "string",
          "const": "click",
          "title": "Type"
        },
        "x": {
          "type": "integer",
          "title": "X"
        },
        "y": {
          "type": "integer",
          "title": "Y"
        }
      },
      "additionalProperties": true,
      "type": "object",
      "required": [
        "button",
        "type",
        "x",
        "y"
      ],
      "title": "ActionClick",
      "description": "A click action."
    },
    "ActionDoubleClick": {
      "properties": {
        "type": {
          "type": "string",
          "const": "double_click",
          "title": "Type"
        },
        "x": {
          "type": "integer",
          "title": "X"
        },
        "y": {
          "type": "integer",
          "title": "Y"
        }
      },
      "additionalProperties": true,
      "type": "object",
      "required": [
        "type",
        "x",
        "y"
      ],
      "title": "ActionDoubleClick",
      "description": "A double click action."
    },
    "ActionDrag": {
      "properties": {
        "path": {
          "items": {
            "$ref": "#/$defs/ActionDragPath"
          },
          "type": "array",
          "title": "Path"
        },
        "type": {
          "type": "string",
          "const": "drag",
          "title": "Type"
        }
      },
      "additionalProperties": true,
      "type": "object",
      "required": [
        "path",
        "type"
      ],
      "title": "ActionDrag",
      "description": "A drag action."
    },
    "ActionDragPath": {
      "properties": {
        "x": {
          "type": "integer",
          "title": "X"
        },
        "y": {
          "type": "integer",
          "title": "Y"
        }
      },
      "additionalProperties": true,
      "type": "object",
      "required": [
        "x",
        "y"
      ],
      "title": "ActionDragPath",
      "description": "An x/y coordinate pair, e.g. `{ x: 100, y: 200 }`."
    },
    "ActionFind": {
      "properties": {
        "pattern": {
          "type": "string",
          "title": "Pattern"
        },
        "type": {
          "type": "string",
          "const": "find_in_page",
          "title": "Type"
        },
        "url": {
          "type": "string",
          "title": "Url"
        }
      },
      "additionalProperties": true,
      "type": "object",
      "required": [
        "pattern",
        "type",
        "url"
      ],
      "title": "ActionFind",
      "description": "Action type \"find_in_page\": Searches for a pattern within a loaded page."
    },
    "ActionKeypress": {
      "properties": {
        "keys": {
          "items": {
            "type": "string"
          },
          "type": "array",
          "title": "Keys"
        },
        "type": {
          "type": "string",
          "const": "keypress",
          "title": "Type"
        }
      },
      "additionalProperties": true,
      "type": "object",
      "required": [
        "keys",
        "type"
      ],
      "title": "ActionKeypress",
      "description": "A collection of keypresses the model would like to perform."
    },
    "ActionMove": {
      "properties": {
        "type": {
          "type": "string",
          "const": "move",
          "title": "Type"
        },
        "x": {
          "type": "integer",
          "title": "X"
        },
        "y": {
          "type": "integer",
          "title": "Y"
        }
      },
      "additionalProperties": true,
      "type": "object",
      "required": [
        "type",
        "x",
        "y"
      ],
      "title": "ActionMove",
      "description": "A mouse move action."
    },
    "ActionScreenshot": {
      "properties": {
        "type": {
          "type": "string",
          "const": "screenshot",
          "title": "Type"
        }
      },
      "additionalProperties": true,
      "type": "object",
      "required": [
        "type"
      ],
      "title": "ActionScreenshot",
      "description": "A screenshot action."
    },
    "ActionScroll": {
      "properties": {
        "scroll_x": {
          "type": "integer",
          "title": "Scroll X"
        },
        "scroll_y": {
          "type": "integer",
          "title": "Scroll Y"
        },
        "type": {
          "type": "string",
          "const": "scroll",
          "title": "Type"
        },
        "x": {
          "type": "integer",
          "title": "X"
        },
        "y": {
          "type": "integer",
          "title": "Y"
        }
      },
      "additionalProperties": true,
      "type": "object",
      "required": [
        "scroll_x",
        "scroll_y",
        "type",
        "x",
        "y"
      ],
      "title": "ActionScroll",
      "description": "A scroll action."
    },
    "ActionSearchSource": {
      "properties": {
        "type": {
          "type": "string",
          "const": "url",
          "title": "Type"
        },
        "url": {
          "type": "string",
          "title": "Url"
        }
      },
      "additionalProperties": true,
      "type": "object",
      "required": [
        "type",
        "url"
      ],
      "title": "ActionSearchSource",
      "description": "A source used in the search."
    },
    "ActionType": {
      "properties": {
        "text": {
          "type": "string",
          "title": "Text"
        },
        "type": {
          "type": "string",
          "const": "type",
          "title": "Type"
        }
      },
      "additionalProperties": true,
      "type": "object",
      "required": [
        "text",
        "type"
      ],
      "title": "ActionType",
      "description": "An action to type in text."
    },
    "ActionWait": {
      "properties": {
        "type": {
          "type": "string",
          "const": "wait",
          "title": "Type"
        }
      },
      "additionalProperties": true,
      "type": "object",
      "required": [
        "type"
      ],
      "title": "ActionWait",
      "description": "A wait action."
    },
    "AnnotationContainerFileCitation": {
      "properties": {
        "container_id": {
          "type": "string",
          "title": "Container Id"
        },
        "end_index": {
          "type": "integer",
          "title": "End Index"
        },
        "file_id": {
          "type": "string",
          "title": "File Id"
        },
        "filename": {
          "type": "string",
          "title": "Filename"
        },
        "start_index": {
          "type": "integer",
          "title": "Start Index"
        },
        "type": {
          "type": "string",
          "const": "container_file_citation",
          "title": "Type"
        }
      },
      "additionalProperties": true,
      "type": "object",
      "required": [
        "container_id",
        "end_index",
        "file_id",
        "filename",
        "start_index",
        "type"
      ],
      "title": "AnnotationContainerFileCitation",
      "description": "A citation for a container file used to generate a model response."
    },
    "AnnotationFileCitation": {
      "properties": {
        "file_id": {
          "type": "string",
          "title": "File Id"
        },
        "filename": {
          "type": "string",
          "title": "Filename"
        },
        "index": {
          "type": "integer",
          "title": "Index"
        },
        "type": {
          "type": "string",
          "const": "file_citation",
          "title": "Type"
        }
      },
      "additionalProperties": true,
      "type": "object",
      "required": [
        "file_id",
        "filename",
        "index",
        "type"
      ],
      "title": "AnnotationFileCitation",
      "description": "A citation to a file."
    },
    "AnnotationFilePath": {
      "properties": {
        "file_id": {
          "type": "string",
          "title": "File Id"
        },
        "index": {
          "type": "integer",
          "title": "Index"
        },
        "type": {
          "type": "string",
          "const": "file_path",
          "title": "Type"
        }
      },
      "additionalProperties": true,
      "type": "object",
      "required": [
        "file_id",
        "index",
        "type"
      ],
      "title": "AnnotationFilePath",
      "description": "A path to a file."
    },
    "ApplyPatchCallOperationCreateFile": {
      "properties": {
        "diff": {
          "type": "string",
          "title": "Diff"
        },
        "path": {
          "type": "string",
          "title": "Path"
        },
        "type": {
          "type": "string",
          "const": "create_file",
          "title": "Type"
        }
      },
      "additionalProperties": true,
      "type": "object",
      "required": [
        "diff",
        "path",
        "type"
      ],
      "title": "ApplyPatchCallOperationCreateFile",
      "description": "Instruction for creating a new file via the apply_patch tool."
    },
    "ApplyPatchCallOperationDeleteFile": {
      "properties": {
        "path": {
          "type": "string",
          "title": "Path"
        },
        "type": {
          "type": "string",
          "const": "delete_file",
          "title": "Type"
        }
      },
      "additionalProperties": true,
      "type": "object",
      "required": [
        "path",
        "type"
      ],
      "title": "ApplyPatchCallOperationDeleteFile",
      "description": "Instruction for deleting an existing file via the apply_patch tool."
    },
    "ApplyPatchCallOperationUpdateFile": {
      "properties": {
        "diff": {
          "type": "string",
          "title": "Diff"
        },
        "path": {
          "type": "string",
          "title": "Path"
        },
        "type": {
          "type": "string",
          "const": "update_file",
          "title": "Type"
        }
      },
      "additionalProperties": true,
      "type": "object",
      "required": [
        "diff",
        "path",
        "type"
      ],
      "title": "ApplyPatchCallOperationUpdateFile",
      "description": "Instruction for updating an existing file via the apply_patch tool."
    },
    "ContainerReferenceParam": {
      "properties": {
        "container_id": {
          "type": "string",
          "title": "Container Id"
        },
        "type": {
          "type": "string",
          "const": "container_reference",
          "title": "Type"
        }
      },
      "additionalProperties": true,
      "type": "object",
      "required": [
        "container_id",
        "type"
      ],
      "title": "ContainerReferenceParam"
    },
    "Content": {
      "properties": {
        "text": {
          "type": "string",
          "title": "Text"
        },
        "type": {
          "type": "string",
          "const": "reasoning_text",
          "title": "Type"
        }
      },
      "additionalProperties": true,
      "type": "object",
      "required": [
        "text",
        "type"
      ],
      "title": "Content",
      "description": "Reasoning text from the model."
    },
    "EasyInputMessageParam": {
      "properties": {
        "content": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "items": {
                "anyOf": [
                  {
                    "$ref": "#/$defs/ResponseInputTextParam"
                  },
                  {
                    "$ref": "#/$defs/ResponseInputImageParam"
                  },
                  {
                    "$ref": "#/$defs/ResponseInputFileParam"
                  }
                ]
              },
              "type": "array"
            }
          ],
          "title": "Content"
        },
        "role": {
          "type": "string",
          "enum": [
            "user",
            "assistant",
            "system",
            "developer"
          ],
          "title": "Role"
        },
        "phase": {
          "title": "Phase",
          "type": "string",
          "enum": [
            "commentary",
            "final_answer"
          ]
        },
        "type": {
          "title": "Type",
          "type": "string",
          "const": "message"
        }
      },
      "additionalProperties": true,
      "type": "object",
      "required": [
        "content",
        "role"
      ],
      "title": "EasyInputMessageParam",
      "description": "A message input to the model with a role indicating instruction following\nhierarchy. Instructions given with the `developer` or `system` role take\nprecedence over instructions given with the `user` role. Messages with the\n`assistant` role are presumed to have been generated by the model in previous\ninteractions."
    },
    "LocalEnvironmentParam": {
      "properties": {
        "type": {
          "type": "string",
          "const": "local",
          "title": "Type"
        },
        "skills": {
          "items": {
            "$ref": "#/$defs/LocalSkillParam"
          },
          "type": "array",
          "title": "Skills"
        }
      },
      "additionalProperties": true,
      "type": "object",
      "required": [
        "type"
      ],
      "title": "LocalEnvironmentParam"
    },
    "LocalSkillParam": {
      "properties": {
        "description": {
          "title": "Description",
          "type": "string"
        },
        "name": {
          "type": "string",
          "title": "Name"
        },
        "path": {
          "type": "string",
          "title": "Path"
        }
      },
      "additionalProperties": true,
      "type": "object",
      "required": [
        "description",
        "name",
        "path"
      ],
      "title": "LocalSkillParam"
    },
    "McpApprovalRequest": {
      "properties": {
        "id": {
          "type": "string",
          "title": "Id"
        },
        "arguments": {
          "title": "Arguments",
          "type": "string"
        },
        "name": {
          "type": "string",
          "title": "Name"
        },
        "server_label": {
          "type": "string",
          "title": "Server Label"
        },
        "type": {
          "type": "string",
          "const": "mcp_approval_request",
          "title": "Type"
        }
      },
      "additionalProperties": true,
      "type": "object",
      "required": [
        "id",
        "arguments",
        "name",
        "server_label",
        "type"
      ],
      "title": "McpApprovalRequest",
      "description": "A request for human approval of a tool invocation."
    },
    "OutcomeExit": {
      "properties": {
        "exit_code": {
          "type": "integer",
          "title": "Exit Code"
        },
        "type": {
          "type": "string",
          "const": "exit",
          "title": "Type"
        }
      },
      "additionalProperties": true,
      "type": "object",
      "required": [
        "exit_code",
        "type"
      ],
      "title": "OutcomeExit",
      "description": "Indicates that the shell commands finished and returned an exit code."
    },
    "OutcomeTimeout": {
      "properties": {
        "type": {
          "type": "string",
          "const": "timeout",
          "title": "Type"
        }
      },
      "additionalProperties": true,
      "type": "object",
      "required": [
        "type"
      ],
      "title": "OutcomeTimeout",
      "description": "Indicates that the shell call exceeded its configured time limit."
    },
    "OutputImage": {
      "properties": {
        "type": {
          "type": "string",
          "const": "image",
          "title": "Type"
        },
        "url": {
          "type": "string",
          "title": "Url"
        }
      },
      "additionalProperties": true,
      "type": "object",
      "required": [
        "type",
        "url"
      ],
      "title": "OutputImage",
      "description": "The image output from the code interpreter."
    },
    "OutputLogs": {
      "properties": {
        "logs": {
          "type": "string",
          "title": "Logs"
        },
        "type": {
          "type": "string",
          "const": "logs",
          "title": "Type"
        }
      },
      "additionalProperties": true,
      "type": "object",
      "required": [
        "logs",
        "type"
      ],
      "title": "OutputLogs",
      "description": "The logs output from the code interpreter."
    },
    "ResponseCodeInterpreterToolCallParam": {
      "properties": {
        "id": {
          "type": "string",
          "title": "Id"
        },
        "code": {
          "type": "string",
          "title": "Code"
        },
        "container_id": {
          "type": "string",
          "title": "Container Id"
        },
        "outputs": {
          "title": "Outputs",
          "items": {
            "anyOf": [
              {
                "$ref": "#/$defs/OutputLogs"
              },
              {
                "$ref": "#/$defs/OutputImage"
              }
            ]
          },
          "type": "array"
        },
        "status": {
          "type": "string",
          "enum": [
            "in_progress",
            "completed",
            "incomplete",
            "interpreting",
            "failed"
          ],
          "title": "Status"
        },
        "type": {
          "type": "string",
          "const": "code_interpreter_call",
          "title": "Type"
        }
      },
      "additionalProperties": true,
      "type": "object",
      "required": [
        "id",
        "code",
        "container_id",
        "outputs",
        "status",
        "type"
      ],
      "title": "ResponseCodeInterpreterToolCallParam",
      "description": "A tool call to run code."
    },
    "ResponseCompactionItemParamParam": {
      "properties": {
        "encrypted_content": {
          "type": "string",
          "title": "Encrypted Content"
        },
        "type": {
          "type": "string",
          "const": "compaction",
          "title": "Type"
        },
        "id": {
          "type": "string",
          "title": "Id"
        }
      },
      "additionalProperties": true,
      "type": "object",
      "required": [
        "encrypted_content",
        "type"
      ],
      "title": "ResponseCompactionItemParamParam",
      "description": "A compaction item generated by the [`v1/responses/compact` API](https://platform.openai.com/docs/api-reference/responses/compact)."
    },
    "ResponseComputerToolCallOutputScreenshotParam": {
      "properties": {
        "type": {
          "type": "string",
          "const": "computer_screenshot",
          "title": "Type"
        },
        "file_id": {
          "type": "string",
          "title": "File Id"
        },
        "image_url": {
          "title": "Image Url",
          "type": "string"
        }
      },
      "additionalProperties": true,
      "type": "object",
      "required": [
        "type"
      ],
      "title": "ResponseComputerToolCallOutputScreenshotParam",
      "description": "A computer screenshot image used with the computer use tool."
    },
    "ResponseComputerToolCallParam": {
      "properties": {
        "id": {
          "type": "string",
          "title": "Id"
        },
        "action": {
          "anyOf": [
            {
              "$ref": "#/$defs/ActionClick"
            },
            {
              "$ref": "#/$defs/ActionDoubleClick"
            },
            {
              "$ref": "#/$defs/ActionDrag"
            },
            {
              "$ref": "#/$defs/ActionKeypress"
            },
            {
              "$ref": "#/$defs/ActionMove"
            },
            {
              "$ref": "#/$defs/ActionScreenshot"
            },
            {
              "$ref": "#/$defs/ActionScroll"
            },
            {
              "$ref": "#/$defs/ActionType"
            },
            {
              "$ref": "#/$defs/ActionWait"
            }
          ],
          "title": "Action"
        },
        "call_id": {
          "type": "string",
          "title": "Call Id"
        },
        "pending_safety_checks": {
          "items": {
            "$ref": "#/$defs/openai__types__responses__response_computer_tool_call_param__PendingSafetyCheck"
          },
          "type": "array",
          "title": "Pending Safety Checks"
        },
        "status": {
          "type": "string",
          "enum": [
            "in_progress",
            "completed",
            "incomplete"
          ],
          "title": "Status"
        },
        "type": {
          "type": "string",
          "const": "computer_call",
          "title": "Type"
        }
      },
      "additionalProperties": true,
      "type": "object",
      "required": [
        "id",
        "action",
        "call_id",
        "pending_safety_checks",
        "status",
        "type"
      ],
      "title": "ResponseComputerToolCallParam",
      "description": "A tool call to a computer use tool.\n\nSee the\n[computer use guide](https://platform.openai.com/docs/guides/tools-computer-use) for more information."
    },
    "ResponseCustomToolCallOutputParam": {
      "properties": {
        "call_id": {
          "type": "string",
          "title": "Call Id"
        },
        "output": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "items": {
                "anyOf": [
                  {
                    "$ref": "#/$defs/ResponseInputTextParam"
                  },
                  {
                    "$ref": "#/$defs/ResponseInputImageParam"
                  },
                  {
                    "$ref": "#/$defs/ResponseInputFileParam"
                  }
                ]
              },
              "type": "array"
            }
          ],
          "title": "Output"
        },
        "type": {
          "type": "string",
          "const": "custom_tool_call_output",
          "title": "Type"
        },
        "id": {
          "type": "string",
          "title": "Id"
        }
      },
      "additionalProperties": true,
      "type": "object",
      "required": [
        "call_id",
        "output",
        "type"
      ],
      "title": "ResponseCustomToolCallOutputParam",
      "description": "The output of a custom tool call from your code, being sent back to the model."
    },
    "ResponseCustomToolCallParam": {
      "properties": {
        "call_id": {
          "type": "string",
          "title": "Call Id"
        },
        "input": {
          "type": "string",
          "title": "Input"
        },
        "name": {
          "type": "string",
          "title": "Name"
        },
        "type": {
          "type": "string",
          "const": "custom_tool_call",
          "title": "Type"
        },
        "id": {
          "type": "string",
          "title": "Id"
        }
      },
      "additionalProperties": true,
      "type": "object",
      "required": [
        "call_id",
        "input",
        "name",
        "type"
      ],
      "title": "ResponseCustomToolCallParam",
      "description": "A call to a custom tool created by the model."
    },
    "ResponseFileSearchToolCallParam": {
      "properties": {
        "id": {
          "type": "string",
          "title": "Id"
        },
        "queries": {
          "items": {
            "type": "string"
          },
          "type": "array",
          "title": "Queries"
        },
        "status": {
          "type": "string",
          "enum": [
            "in_progress",
            "searching",
            "completed",
            "incomplete",
            "failed"
          ],
          "title": "Status"
        },
        "type": {
          "type": "string",
          "const": "file_search_call",
          "title": "Type"
        },
        "results": {
          "title": "Results",
          "items": {
            "$ref": "#/$defs/openai__types__responses__response_file_search_tool_call_param__Result"
          },
          "type": "array"
        }
      },
      "additionalProperties": true,
      "type": "object",
      "required": [
        "id",
        "queries",
        "status",
        "type"
      ],
      "title": "ResponseFileSearchToolCallParam",
      "description": "The results of a file search tool call.\n\nSee the\n[file search guide](https://platform.openai.com/docs/guides/tools-file-search) for more information."
    },
    "ResponseFunctionShellCallOutputContentParam": {
      "properties": {
        "outcome": {
          "anyOf": [
            {
              "$ref": "#/$defs/OutcomeTimeout"
            },
            {
              "$ref": "#/$defs/OutcomeExit"
            }
          ],
          "title": "Outcome"
        },
        "stderr": {
          "type": "string",
          "title": "Stderr"
        },
        "stdout": {
          "type": "string",
          "title": "Stdout"
        }
      },
      "additionalProperties": true,
      "type": "object",
      "required": [
        "outcome",
        "stderr",
        "stdout"
      ],
      "title": "ResponseFunctionShellCallOutputContentParam",
      "description": "Captured stdout and stderr for a portion of a shell tool call output."
    },
    "ResponseFunctionToolCallParam": {
      "properties": {
        "arguments": {
          "title": "Arguments",
          "type": "string"
        },
        "call_id": {
          "type": "string",
          "title": "Call Id"
        },
        "name": {
          "type": "string",
          "title": "Name"
        },
        "type": {
          "type": "string",
          "const": "function_call",
          "title": "Type"
        },
        "id": {
          "type": "string",
          "title": "Id"
        },
        "status": {
          "type": "string",
          "enum": [
            "in_progress",
            "completed",
            "incomplete"
          ],
          "title": "Status"
        }
      },
      "additionalProperties": true,
      "type": "object",
      "required": [
        "arguments",
        "call_id",
        "name",
        "type"
      ],
      "title": "ResponseFunctionToolCallParam",
      "description": "A tool call to run a function.\n\nSee the\n[function calling guide](https://platform.openai.com/docs/guides/function-calling) for more information."
    },
    "ResponseFunctionWebSearchParam": {
      "properties": {
        "id": {
          "type": "string",
          "title": "Id"
        },
        "action": {
          "anyOf": [
            {
              "$ref": "#/$defs/openai__types__responses__response_function_web_search_param__ActionSearch"
            },
            {
              "$ref": "#/$defs/openai__types__responses__response_function_web_search_param__ActionOpenPage"
            },
            {
              "$ref": "#/$defs/ActionFind"
            }
          ],
          "title": "Action"
        },
        "status": {
          "type": "string",
          "enum": [
            "in_progress",
            "searching",
            "completed",
            "failed"
          ],
          "title": "Status"
        },
        "type": {
          "type": "string",
          "const": "web_search_call",
          "title": "Type"
        }
      },
      "additionalProperties": true,
      "type": "object",
      "required": [
        "id",
        "action",
        "status",
        "type"
      ],
      "title": "ResponseFunctionWebSearchParam",
      "description": "The results of a web search tool call.\n\nSee the\n[web search guide](https://platform.openai.com/docs/guides/tools-web-search) for more information."
    },
    "ResponseInputFileContentParam": {
      "properties": {
        "type": {
          "type": "string",
          "const": "input_file",
          "title": "Type"
        },
        "file_data": {
          "title": "File Data",
          "type": "string"
        },
        "file_id": {
          "type": "string",
          "title": "File Id"
        },
        "file_url": {
          "title": "File Url",
          "type": "string"
        },
        "filename": {
          "type": "string",
          "title": "Filename"
        }
      },
      "additionalProperties": true,
      "type": "object",
      "required": [
        "type"
      ],
      "title": "ResponseInputFileContentParam",
      "description": "A file input to the model."
    },
    "ResponseInputFileParam": {
      "properties": {
        "type": {
          "type": "string",
          "const": "input_file",
          "title": "Type"
        },
        "file_data": {
          "title": "File Data",
          "type": "string"
        },
        "file_id": {
          "type": "string",
          "title": "File Id"
        },
        "file_url": {
          "title": "File Url",
          "type": "string"
        },
        "filename": {
          "type": "string",
          "title": "Filename"
        }
      },
      "additionalProperties": true,
      "type": "object",
      "required": [
        "type"
      ],
      "title": "ResponseInputFileParam",
      "description": "A file input to the model."
    },
    "ResponseInputImageContentParam": {
      "properties": {
        "type": {
          "type": "string",
          "const": "input_image",
          "title": "Type"
        },
        "detail": {
          "type": "string",
          "enum": [
            "low",
            "high",
            "auto"
          ],
          "title": "Detail"
        },
        "file_id": {
          "type": "string",
          "title": "File Id"
        },
        "image_url": {
          "title": "Image Url",
          "type": "string"
        }
      },
      "additionalProperties": true,
      "type": "object",
      "required": [
        "type"
      ],
      "title": "ResponseInputImageContentParam",
      "description": "An image input to the model.\n\nLearn about [image inputs](https://platform.openai.com/docs/guides/vision)"
    },
    "ResponseInputImageParam": {
      "properties": {
        "detail": {
          "type": "string",
          "enum": [
            "low",
            "high",
            "auto"
          ],
          "title": "Detail"
        },
        "type": {
          "type": "string",
          "const": "input_image",
          "title": "Type"
        },
        "file_id": {
          "type": "string",
          "title": "File Id"
        },
        "image_url": {
          "title": "Image Url",
          "type": "string"
        }
      },
      "additionalProperties": true,
      "type": "object",
      "required": [
        "detail",
        "type"
      ],
      "title": "ResponseInputImageParam",
      "description": "An image input to the model.\n\nLearn about [image inputs](https://platform.openai.com/docs/guides/vision)."
    },
    "ResponseInputTextContentParam": {
      "properties": {
        "text": {
          "type": "string",
          "title": "Text"
        },
        "type": {
          "type": "string",
          "const": "input_text",
          "title": "Type"
        }
      },
      "additionalProperties": true,
      "type": "object",
      "required": [
        "text",
        "type"
      ],
      "title": "ResponseInputTextContentParam",
      "description": "A text input to the model."
    },
    "ResponseInputTextParam": {
      "properties": {
        "text": {
          "type": "string",
          "title": "Text"
        },
        "type": {
          "type": "string",
          "const": "input_text",
          "title": "Type"
        }
      },
      "additionalProperties": true,
      "type": "object",
      "required": [
        "text",
        "type"
      ],
      "title": "ResponseInputTextParam",
      "description": "A text input to the model."
    },
    "ResponseOutputMessageParam": {
      "properties": {
        "id": {
          "type": "string",
          "title": "Id"
        },
        "content": {
          "items": {
            "anyOf": [
              {
                "$ref": "#/$defs/ResponseOutputTextParam"
              },
              {
                "$ref": "#/$defs/ResponseOutputRefusalParam"
              }
            ]
          },
          "type": "array",
          "title": "Content"
        },
        "role": {
          "type": "string",
          "const": "assistant",
          "title": "Role"
        },
        "status": {
          "type": "string",
          "enum": [
            "in_progress",
            "completed",
            "incomplete"
          ],
          "title": "Status"
        },
        "type": {
          "title": "Type",
          "type": "string",
          "const": "message"
        },
        "phase": {
          "title": "Phase",
          "type": "string",
          "enum": [
            "commentary",
            "final_answer"
          ]
        }
      },
      "additionalProperties": true,
      "type": "object",
      "required": [
        "id",
        "content",
        "role",
        "status",
        "type"
      ],
      "title": "ResponseOutputMessageParam",
      "description": "An output message from the model."
    },
    "ResponseOutputRefusalParam": {
      "properties": {
        "refusal": {
          "title": "Refusal",
          "type": "string"
        },
        "type": {
          "type": "string",
          "const": "refusal",
          "title": "Type"
        }
      },
      "additionalProperties": true,
      "type": "object",
      "required": [
        "refusal",
        "type"
      ],
      "title": "ResponseOutputRefusalParam",
      "description": "A refusal from the model."
    },
    "ResponseOutputTextParam": {
      "properties": {
        "annotations": {
          "items": {
            "anyOf": [
              {
                "$ref": "#/$defs/AnnotationFileCitation"
              },
              {
                "$ref": "#/$defs/openai__types__responses__response_output_text_param__AnnotationURLCitation"
              },
              {
                "$ref": "#/$defs/AnnotationContainerFileCitation"
              },
              {
                "$ref": "#/$defs/AnnotationFilePath"
              }
            ]
          },
          "type": "array",
          "title": "Annotations"
        },
        "text": {
          "type": "string",
          "title": "Text"
        },
        "type": {
          "type": "string",
          "const": "output_text",
          "title": "Type"
        },
        "logprobs": {
          "items": {
            "$ref": "#/$defs/openai__types__responses__response_output_text_param__Logprob"
          },
          "type": "array",
          "title": "Logprobs"
        }
      },
      "additionalProperties": true,
      "type": "object",
      "required": [
        "annotations",
        "text",
        "type"
      ],
      "title": "ResponseOutputTextParam",
      "description": "A text output from the model."
    },
    "ResponseReasoningItemParam": {
      "properties": {
        "id": {
          "type": "string",
          "title": "Id"
        },
        "summary": {
          "items": {
            "$ref": "#/$defs/Summary"
          },
          "type": "array",
          "title": "Summary"
        },
        "type": {
          "type": "string",
          "const": "reasoning",
          "title": "Type"
        },
        "content": {
          "title": "Content",
          "items": {
            "$ref": "#/$defs/Content"
          },
          "type": "array"
        },
        "encrypted_content": {
          "type": "string",
          "title": "Encrypted Content"
        },
        "status": {
          "type": "string",
          "enum": [
            "in_progress",
            "completed",
            "incomplete"
          ],
          "title": "Status"
        }
      },
      "additionalProperties": true,
      "type": "object",
      "required": [
        "id",
        "summary",
        "type"
      ],
      "title": "ResponseReasoningItemParam",
      "description": "A description of the chain of thought used by a reasoning model while generating\na response. Be sure to include these items in your `input` to the Responses API\nfor subsequent turns of a conversation if you are manually\n[managing context](https://platform.openai.com/docs/guides/conversation-state)."
    },
    "Summary": {
      "properties": {
        "text": {
          "type": "string",
          "title": "Text"
        },
        "type": {
          "type": "string",
          "const": "summary_text",
          "title": "Type"
        }
      },
      "additionalProperties": true,
      "type": "object",
      "required": [
        "text",
        "type"
      ],
      "title": "Summary",
      "description": "A summary text from the model."
    },
    "openai__types__responses__response_computer_tool_call_param__PendingSafetyCheck": {
      "properties": {
        "id": {
          "type": "string",
          "title": "Id"
        },
        "code": {
          "type": "string",
          "title": "Code"
        },
        "message": {
          "type": "string",
          "title": "Message"
        }
      },
      "additionalProperties": true,
      "type": "object",
      "required": [
        "id"
      ],
      "title": "PendingSafetyCheck",
      "description": "A pending safety check for the computer call."
    },
    "openai__types__responses__response_file_search_tool_call_param__Result": {
      "properties": {
        "attributes": {
          "title": "Attributes",
          "additionalProperties": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "number"
              },
              {
                "type": "boolean"
              }
            ]
          },
          "type": "object"
        },
        "file_id": {
          "type": "string",
          "title": "File Id"
        },
        "filename": {
          "type": "string",
          "title": "Filename"
        },
        "score": {
          "title": "Score",
          "type": "number"
        },
        "text": {
          "type": "string",
          "title": "Text"
        }
      },
      "additionalProperties": true,
      "type": "object",
      "title": "Result"
    },
    "openai__types__responses__response_function_web_search_param__ActionOpenPage": {
      "properties": {
        "type": {
          "type": "string",
          "const": "open_page",
          "title": "Type"
        },
        "url": {
          "type": "string",
          "title": "Url"
        }
      },
      "additionalProperties": true,
      "type": "object",
      "required": [
        "type"
      ],
      "title": "ActionOpenPage",
      "description": "Action type \"open_page\" - Opens a specific URL from search results."
    },
    "openai__types__responses__response_function_web_search_param__ActionSearch": {
      "properties": {
        "query": {
          "type": "string",
          "title": "Query"
        },
        "type": {
          "type": "string",
          "const": "search",
          "title": "Type"
        },
        "queries": {
          "items": {
            "type": "string"
          },
          "type": "array",
          "title": "Queries"
        },
        "sources": {
          "title": "Sources",
          "items": {
            "$ref": "#/$defs/ActionSearchSource"
          },
          "type": "array"
        }
      },
      "additionalProperties": true,
      "type": "object",
      "required": [
        "query",
        "type"
      ],
      "title": "ActionSearch",
      "description": "Action type \"search\" - Performs a web search query."
    },
    "openai__types__responses__response_input_param__ApplyPatchCall": {
      "properties": {
        "call_id": {
          "type": "string",
          "title": "Call Id"
        },
        "operation": {
          "anyOf": [
            {
              "$ref": "#/$defs/ApplyPatchCallOperationCreateFile"
            },
            {
              "$ref": "#/$defs/ApplyPatchCallOperationDeleteFile"
            },
            {
              "$ref": "#/$defs/ApplyPatchCallOperationUpdateFile"
            }
          ],
          "title": "Operation"
        },
        "status": {
          "type": "string",
          "enum": [
            "in_progress",
            "completed"
          ],
          "title": "Status"
        },
        "type": {
          "type": "string",
          "const": "apply_patch_call",
          "title": "Type"
        },
        "id": {
          "type": "string",
          "title": "Id"
        }
      },
      "additionalProperties": true,
      "type": "object",
      "required": [
        "call_id",
        "operation",
        "status",
        "type"
      ],
      "title": "ApplyPatchCall",
      "description": "A tool call representing a request to create, delete, or update files using diff patches."
    },
    "openai__types__responses__response_input_param__ApplyPatchCallOutput": {
      "properties": {
        "call_id": {
          "type": "string",
          "title": "Call Id"
        },
        "status": {
          "type": "string",
          "enum": [
            "completed",
            "failed"
          ],
          "title": "Status"
        },
        "type": {
          "type": "string",
          "const": "apply_patch_call_output",
          "title": "Type"
        },
        "id": {
          "type": "string",
          "title": "Id"
        },
        "output": {
          "title": "Output",
          "type": "string"
        }
      },
      "additionalProperties": true,
      "type": "object",
      "required": [
        "call_id",
        "status",
        "type"
      ],
      "title": "ApplyPatchCallOutput",
      "description": "The streamed output emitted by an apply patch tool call."
    },
    "openai__types__responses__response_input_param__ComputerCallOutput": {
      "properties": {
        "call_id": {
          "type": "string",
          "title": "Call Id"
        },
        "output": {
          "$ref": "#/$defs/ResponseComputerToolCallOutputScreenshotParam"
        },
        "type": {
          "type": "string",
          "const": "computer_call_output",
          "title": "Type"
        },
        "id": {
          "type": "string",
          "title": "Id"
        },
        "acknowledged_safety_checks": {
          "title": "Acknowledged Safety Checks",
          "items": {
            "$ref": "#/$defs/openai__types__responses__response_input_param__ComputerCallOutputAcknowledgedSafetyCheck"
          },
          "type": "array"
        },
        "status": {
          "type": "string",
          "enum": [
            "in_progress",
            "completed",
            "incomplete"
          ],
          "title": "Status"
        }
      },
      "additionalProperties": true,
      "type": "object",
      "required": [
        "call_id",
        "output",
        "type"
      ],
      "title": "ComputerCallOutput",
      "description": "The output of a computer tool call."
    },
    "openai__types__responses__response_input_param__ComputerCallOutputAcknowledgedSafetyCheck": {
      "properties": {
        "id": {
          "type": "string",
          "title": "Id"
        },
        "code": {
          "type": "string",
          "title": "Code"
        },
        "message": {
          "type": "string",
          "title": "Message"
        }
      },
      "additionalProperties": true,
      "type": "object",
      "required": [
        "id"
      ],
      "title": "ComputerCallOutputAcknowledgedSafetyCheck",
      "description": "A pending safety check for the computer call."
    },
    "openai__types__responses__response_input_param__FunctionCallOutput": {
      "properties": {
        "call_id": {
          "type": "string",
          "title": "Call Id"
        },
        "output": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "items": {
                "anyOf": [
                  {
                    "$ref": "#/$defs/ResponseInputTextContentParam"
                  },
                  {
                    "$ref": "#/$defs/ResponseInputImageContentParam"
                  },
                  {
                    "$ref": "#/$defs/ResponseInputFileContentParam"
                  }
                ]
              },
              "type": "array"
            }
          ],
          "title": "Output"
        },
        "type": {
          "type": "string",
          "const": "function_call_output",
          "title": "Type"
        },
        "id": {
          "type": "string",
          "title": "Id"
        },
        "status": {
          "type": "string",
          "enum": [
            "in_progress",
            "completed",
            "incomplete"
          ],
          "title": "Status"
        }
      },
      "additionalProperties": true,
      "type": "object",
      "required": [
        "call_id",
        "output",
        "type"
      ],
      "title": "FunctionCallOutput",
      "description": "The output of a function tool call."
    },
    "openai__types__responses__response_input_param__ImageGenerationCall": {
      "properties": {
        "id": {
          "type": "string",
          "title": "Id"
        },
        "result": {
          "type": "string",
          "title": "Result"
        },
        "status": {
          "type": "string",
          "enum": [
            "in_progress",
            "completed",
            "generating",
            "failed"
          ],
          "title": "Status"
        },
        "type": {
          "type": "string",
          "const": "image_generation_call",
          "title": "Type"
        }
      },
      "additionalProperties": true,
      "type": "object",
      "required": [
        "id",
        "result",
        "status",
        "type"
      ],
      "title": "ImageGenerationCall",
      "description": "An image generation request made by the model."
    },
    "openai__types__responses__response_input_param__ItemReference": {
      "properties": {
        "id": {
          "type": "string",
          "title": "Id"
        },
        "type": {
          "title": "Type",
          "type": "string",
          "const": "item_reference"
        }
      },
      "additionalProperties": true,
      "type": "object",
      "required": [
        "id"
      ],
      "title": "ItemReference",
      "description": "An internal identifier for an item to reference."
    },
    "openai__types__responses__response_input_param__LocalShellCall": {
      "properties": {
        "id": {
          "type": "string",
          "title": "Id"
        },
        "action": {
          "$ref": "#/$defs/openai__types__responses__response_input_param__LocalShellCallAction"
        },
        "call_id": {
          "type": "string",
          "title": "Call Id"
        },
        "status": {
          "type": "string",
          "enum": [
            "in_progress",
            "completed",
            "incomplete"
          ],
          "title": "Status"
        },
        "type": {
          "type": "string",
          "const": "local_shell_call",
          "title": "Type"
        }
      },
      "additionalProperties": true,
      "type": "object",
      "required": [
        "id",
        "action",
        "call_id",
        "status",
        "type"
      ],
      "title": "LocalShellCall",
      "description": "A tool call to run a command on the local shell."
    },
    "openai__types__responses__response_input_param__LocalShellCallAction": {
      "properties": {
        "command": {
          "items": {
            "type": "string"
          },
          "type": "array",
          "title": "Command"
        },
        "env": {
          "additionalProperties": {
            "type": "string"
          },
          "type": "object",
          "title": "Env"
        },
        "type": {
          "type": "string",
          "const": "exec",
          "title": "Type"
        },
        "timeout_ms": {
          "title": "Timeout Ms",
          "type": "integer"
        },
        "user": {
          "title": "User",
          "type": "string"
        },
        "working_directory": {
          "title": "Working Directory",
          "type": "string"
        }
      },
      "additionalProperties": true,
      "type": "object",
      "required": [
        "command",
        "env",
        "type"
      ],
      "title": "LocalShellCallAction",
      "description": "Execute a shell command on the server."
    },
    "openai__types__responses__response_input_param__LocalShellCallOutput": {
      "properties": {
        "id": {
          "type": "string",
          "title": "Id"
        },
        "output": {
          "title": "Output",
          "type": "string"
        },
        "type": {
          "type": "string",
          "const": "local_shell_call_output",
          "title": "Type"
        },
        "status": {
          "type": "string",
          "enum": [
            "in_progress",
            "completed",
            "incomplete"
          ],
          "title": "Status"
        }
      },
      "additionalProperties": true,
      "type": "object",
      "required": [
        "id",
        "output",
        "type"
      ],
      "title": "LocalShellCallOutput",
      "description": "The output of a local shell tool call."
    },
    "openai__types__responses__response_input_param__McpApprovalResponse": {
      "properties": {
        "approval_request_id": {
          "type": "string",
          "title": "Approval Request Id"
        },
        "approve": {
          "type": "boolean",
          "title": "Approve"
        },
        "type": {
          "type": "string",
          "const": "mcp_approval_response",
          "title": "Type"
        },
        "id": {
          "type": "string",
          "title": "Id"
        },
        "reason": {
          "title": "Reason",
          "type": "string"
        }
      },
      "additionalProperties": true,
      "type": "object",
      "required": [
        "approval_request_id",
        "approve",
        "type"
      ],
      "title": "McpApprovalResponse",
      "description": "A response to an MCP approval request."
    },
    "openai__types__responses__response_input_param__McpCall": {
      "properties": {
        "id": {
          "type": "string",
          "title": "Id"
        },
        "arguments": {
          "title": "Arguments",
          "type": "string"
        },
        "name": {
          "type": "string",
          "title": "Name"
        },
        "server_label": {
          "type": "string",
          "title": "Server Label"
        },
        "type": {
          "type": "string",
          "const": "mcp_call",
          "title": "Type"
        },
        "approval_request_id": {
          "type": "string",
          "title": "Approval Request Id"
        },
        "error": {
          "title": "Error",
          "type": "string"
        },
        "output": {
          "title": "Output",
          "type": "string"
        },
        "status": {
          "title": "Status",
          "type": "string",
          "enum": [
            "in_progress",
            "completed",
            "incomplete",
            "calling",
            "failed"
          ]
        }
      },
      "additionalProperties": true,
      "type": "object",
      "required": [
        "id",
        "arguments",
        "name",
        "server_label",
        "type"
      ],
      "title": "McpCall",
      "description": "An invocation of a tool on an MCP server."
    },
    "openai__types__responses__response_input_param__McpListTools": {
      "properties": {
        "id": {
          "type": "string",
          "title": "Id"
        },
        "server_label": {
          "type": "string",
          "title": "Server Label"
        },
        "tools": {
          "items": {
            "$ref": "#/$defs/openai__types__responses__response_input_param__McpListToolsTool"
          },
          "type": "array",
          "title": "Tools"
        },
        "type": {
          "type": "string",
          "const": "mcp_list_tools",
          "title": "Type"
        },
        "error": {
          "title": "Error",
          "type": "string"
        }
      },
      "additionalProperties": true,
      "type": "object",
      "required": [
        "id",
        "server_label",
        "tools",
        "type"
      ],
      "title": "McpListTools",
      "description": "A list of tools available on an MCP server."
    },
    "openai__types__responses__response_input_param__McpListToolsTool": {
      "properties": {
        "input_schema": {
          "title": "Input Schema"
        },
        "name": {
          "type": "string",
          "title": "Name"
        },
        "annotations": {
          "title": "Annotations"
        },
        "description": {
          "title": "Description",
          "type": "string"
        }
      },
      "additionalProperties": true,
      "type": "object",
      "required": [
        "input_schema",
        "name"
      ],
      "title": "McpListToolsTool",
      "description": "A tool available on an MCP server."
    },
    "openai__types__responses__response_input_param__Message": {
      "properties": {
        "content": {
          "items": {
            "anyOf": [
              {
                "$ref": "#/$defs/ResponseInputTextParam"
              },
              {
                "$ref": "#/$defs/ResponseInputImageParam"
              },
              {
                "$ref": "#/$defs/ResponseInputFileParam"
              }
            ]
          },
          "type": "array",
          "title": "Content"
        },
        "role": {
          "type": "string",
          "enum": [
            "user",
            "system",
            "developer"
          ],
          "title": "Role"
        },
        "status": {
          "type": "string",
          "enum": [
            "in_progress",
            "completed",
            "incomplete"
          ],
          "title": "Status"
        },
        "type": {
          "title": "Type",
          "type": "string",
          "const": "message"
        }
      },
      "additionalProperties": true,
      "type": "object",
      "required": [
        "content",
        "role"
      ],
      "title": "Message",
      "description": "A message input to the model with a role indicating instruction following\nhierarchy. Instructions given with the `developer` or `system` role take\nprecedence over instructions given with the `user` role."
    },
    "openai__types__responses__response_input_param__ShellCall": {
      "properties": {
        "action": {
          "$ref": "#/$defs/openai__types__responses__response_input_param__ShellCallAction"
        },
        "call_id": {
          "type": "string",
          "title": "Call Id"
        },
        "type": {
          "type": "string",
          "const": "shell_call",
          "title": "Type"
        },
        "id": {
          "type": "string",
          "title": "Id"
        },
        "environment": {
          "anyOf": [
            {
              "$ref": "#/$defs/LocalEnvironmentParam"
            },
            {
              "$ref": "#/$defs/ContainerReferenceParam"
            }
          ],
          "title": "Environment"
        },
        "status": {
          "type": "string",
          "enum": [
            "in_progress",
            "completed",
            "incomplete"
          ],
          "title": "Status"
        }
      },
      "additionalProperties": true,
      "type": "object",
      "required": [
        "action",
        "call_id",
        "type"
      ],
      "title": "ShellCall",
      "description": "A tool representing a request to execute one or more shell commands."
    },
    "openai__types__responses__response_input_param__ShellCallAction": {
      "properties": {
        "commands": {
          "items": {
            "type": "string"
          },
          "type": "array",
          "title": "Commands"
        },
        "max_output_length": {
          "title": "Max Output Length",
          "type": "integer"
        },
        "timeout_ms": {
          "title": "Timeout Ms",
          "type": "integer"
        }
      },
      "additionalProperties": true,
      "type": "object",
      "required": [
        "commands"
      ],
      "title": "ShellCallAction",
      "description": "The shell commands and limits that describe how to run the tool call."
    },
    "openai__types__responses__response_input_param__ShellCallOutput": {
      "properties": {
        "call_id": {
          "type": "string",
          "title": "Call Id"
        },
        "output": {
          "items": {
            "$ref": "#/$defs/ResponseFunctionShellCallOutputContentParam"
          },
          "type": "array",
          "title": "Output"
        },
        "type": {
          "type": "string",
          "const": "shell_call_output",
          "title": "Type"
        },
        "id": {
          "type": "string",
          "title": "Id"
        },
        "max_output_length": {
          "title": "Max Output Length",
          "type": "integer"
        },
        "status": {
          "type": "string",
          "enum": [
            "in_progress",
            "completed",
            "incomplete"
          ],
          "title": "Status"
        }
      },
      "additionalProperties": true,
      "type": "object",
      "required": [
        "call_id",
        "output",
        "type"
      ],
      "title": "ShellCallOutput",
      "description": "The streamed output items emitted by a shell tool call."
    },
    "openai__types__responses__response_output_text_param__AnnotationURLCitation": {
      "properties": {
        "end_index": {
          "type": "integer",
          "title": "End Index"
        },
        "start_index": {
          "type": "integer",
          "title": "Start Index"
        },
        "title": {
          "type": "string",
          "title": "Title"
        },
        "type": {
          "type": "string",
          "const": "url_citation",
          "title": "Type"
        },
        "url": {
          "type": "string",
          "title": "Url"
        }
      },
      "additionalProperties": true,
      "type": "object",
      "required": [
        "end_index",
        "start_index",
        "title",
        "type",
        "url"
      ],
      "title": "AnnotationURLCitation",
      "description": "A citation for a web resource used to generate a model response."
    },
    "openai__types__responses__response_output_text_param__Logprob": {
      "properties": {
        "token": {
          "type": "string",
          "title": "Token"
        },
        "bytes": {
          "title": "Bytes",
          "items": {
            "type": "integer"
          },
          "type": "array"
        },
        "logprob": {
          "type": "number",
          "title": "Logprob"
        },
        "top_logprobs": {
          "items": {
            "$ref": "#/$defs/openai__types__responses__response_output_text_param__LogprobTopLogprob"
          },
          "type": "array",
          "title": "Top Logprobs"
        }
      },
      "additionalProperties": true,
      "type": "object",
      "required": [
        "token",
        "bytes",
        "logprob",
        "top_logprobs"
      ],
      "title": "Logprob",
      "description": "The log probability of a token."
    },
    "openai__types__responses__response_output_text_param__LogprobTopLogprob": {
      "properties": {
        "token": {
          "type": "string",
          "title": "Token"
        },
        "bytes": {
          "title": "Bytes",
          "items": {
            "type": "integer"
          },
          "type": "array"
        },
        "logprob": {
          "type": "number",
          "title": "Logprob"
        }
      },
      "additionalProperties": true,
      "type": "object",
      "required": [
        "token",
        "bytes",
        "logprob"
      ],
      "title": "LogprobTopLogprob",
      "description": "The top log probability of a token."
    }
  }
}