{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/bankbridge-money/json-schema/bankbridge-money-post-v1-responses-request-schema.json",
  "title": "PostV1ResponsesRequest",
  "x-generated": "2026-10-29",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_ae-authored/bankbridge-money-openapi-generated.yml#/components/schemas/PostV1ResponsesRequest",
  "type": "object",
  "properties": {
    "model": {
      "type": "string",
      "description": "The model to use, e.g., \"gpt-4.1\"."
    },
    "input": {
      "type": "string",
      "description": "The user query, e.g., \"How much did I spend on restaurants last month?\"."
    },
    "tools": {
      "type": "array",
      "description": "List of tool definitions."
    },
    "tools[].type": {
      "type": "string",
      "description": "Tool type, must be \"mcp\"."
    },
    "tools[].server_label": {
      "type": "string",
      "description": "Label for the server, e.g., \"bankbridge\"."
    },
    "tools[].server_url": {
      "type": "string",
      "description": "URL of the BankBridge MCP endpoint, e.g., \"https://bankbridge.money/api/mcp\"."
    },
    "tools[].headers.Authorization": {
      "type": "string",
      "description": "Bearer token for authentication, e.g., \"Bearer bbk_your_api_key_here\"."
    },
    "tools[].require_approval": {
      "type": "string",
      "description": "Approval setting, e.g., \"never\"."
    }
  },
  "required": [
    "model",
    "input",
    "tools",
    "tools[].type",
    "tools[].server_label",
    "tools[].server_url",
    "tools[].headers.Authorization",
    "tools[].require_approval"
  ]
}