{
  "openapi": "3.1.0",
  "info": {
    "title": "MCP Kitchen Sink (Perplexity)",
    "version": "1.0.0",
    "description": "Interactive widgets, generated media, polls, a guestbook and notifications. Every operation runs one MCP Kitchen Sink tool and returns its MCP result as JSON; media arrive as URLs and base64 blocks."
  },
  "servers": [
    {
      "url": "https://mcp.actest.xyz"
    }
  ],
  "paths": {
    "/api/tool/kitchen_sink": {
      "post": {
        "operationId": "kitchen_sink",
        "summary": "Kitchen Sink tour",
        "description": "Start here. Shows an animated tour of everything this server can do in the current client: widgets, rich media, notifications, polls and protocol features, and suggests what to try next.",
        "parameters": [
          {
            "name": "profile",
            "in": "query",
            "required": false,
            "description": "Client profile whose tool set and result style to use.",
            "schema": {
              "type": "string",
              "enum": [
                "all",
                "claude",
                "chatgpt",
                "grok",
                "grok-bot",
                "perplexity",
                "antigravity",
                "gemini"
              ],
              "default": "perplexity"
            }
          }
        ],
        "requestBody": {
          "required": false,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "focus": {
                    "default": "everything",
                    "description": "Limit the tour to one area.",
                    "type": "string",
                    "enum": [
                      "everything",
                      "widgets",
                      "media",
                      "protocol",
                      "engagement"
                    ]
                  }
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Tool result",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ToolResult"
                }
              }
            }
          },
          "400": {
            "description": "Invalid arguments",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Unknown tool",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "409": {
            "description": "The tool needs an interactive MCP client",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "x-openai-isConsequential": false
      }
    },
    "/api/tool/show_gallery": {
      "post": {
        "operationId": "show_gallery",
        "summary": "Media gallery",
        "description": "Opens an interactive gallery of the generated media: images with a lightbox, video with captions and HLS, audio with a live spectrum, a 3D model you can rotate, a PDF and a data table. Optionally focus one item.",
        "parameters": [
          {
            "name": "profile",
            "in": "query",
            "required": false,
            "description": "Client profile whose tool set and result style to use.",
            "schema": {
              "type": "string",
              "enum": [
                "all",
                "claude",
                "chatgpt",
                "grok",
                "grok-bot",
                "perplexity",
                "antigravity",
                "gemini"
              ],
              "default": "perplexity"
            }
          }
        ],
        "requestBody": {
          "required": false,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "kind": {
                    "default": "all",
                    "description": "Show only one kind.",
                    "type": "string",
                    "enum": [
                      "all",
                      "image",
                      "audio",
                      "video",
                      "model",
                      "doc"
                    ]
                  },
                  "focus": {
                    "description": "Open this item first.",
                    "type": "string",
                    "enum": [
                      "aurora",
                      "julia",
                      "testcard",
                      "orbit",
                      "truchet",
                      "alpha",
                      "panorama",
                      "tall",
                      "chimes",
                      "ambient",
                      "morse",
                      "stereo",
                      "sweep",
                      "blip",
                      "mandelbrot",
                      "life",
                      "avsync",
                      "vertical",
                      "hls",
                      "torus",
                      "pdf",
                      "planets",
                      "readme"
                    ]
                  }
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Tool result",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ToolResult"
                }
              }
            }
          },
          "400": {
            "description": "Invalid arguments",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Unknown tool",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "409": {
            "description": "The tool needs an interactive MCP client",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "x-openai-isConsequential": false
      }
    },
    "/api/tool/fx_reel": {
      "post": {
        "operationId": "fx_reel",
        "summary": "Effects reel",
        "description": "Plays a reel of attention-grabbing web effects: a WebGL aurora shader, particle typography, liquid glass, kinetic type, animated conic rings, view-transition morphs, a warp starfield, audio-reactive rings, confetti and gooey blobs. Each is interactive and respects reduced-motion settings.",
        "parameters": [
          {
            "name": "profile",
            "in": "query",
            "required": false,
            "description": "Client profile whose tool set and result style to use.",
            "schema": {
              "type": "string",
              "enum": [
                "all",
                "claude",
                "chatgpt",
                "grok",
                "grok-bot",
                "perplexity",
                "antigravity",
                "gemini"
              ],
              "default": "perplexity"
            }
          }
        ],
        "requestBody": {
          "required": false,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "effect": {
                    "default": "all",
                    "description": "Start with this effect, or play them all.",
                    "type": "string",
                    "enum": [
                      "all",
                      "aurora-shader",
                      "particle-type",
                      "liquid-glass",
                      "kinetic-type",
                      "conic-ring",
                      "view-morph",
                      "starfield",
                      "audio-bloom",
                      "confetti",
                      "goo"
                    ]
                  },
                  "text": {
                    "description": "A short word or name for the typographic effects (24 characters max).",
                    "type": "string",
                    "maxLength": 24
                  }
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Tool result",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ToolResult"
                }
              }
            }
          },
          "400": {
            "description": "Invalid arguments",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Unknown tool",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "409": {
            "description": "The tool needs an interactive MCP client",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "x-openai-isConsequential": false
      }
    },
    "/api/tool/tell_story": {
      "post": {
        "operationId": "tell_story",
        "summary": "Story stage",
        "description": "Performs a very short story as animated kinetic typography. Write the story yourself in the `story` argument (60–160 words, vivid, short sentences); the widget animates it word by word while you write it, with scenery that matches the mood.",
        "parameters": [
          {
            "name": "profile",
            "in": "query",
            "required": false,
            "description": "Client profile whose tool set and result style to use.",
            "schema": {
              "type": "string",
              "enum": [
                "all",
                "claude",
                "chatgpt",
                "grok",
                "grok-bot",
                "perplexity",
                "antigravity",
                "gemini"
              ],
              "default": "perplexity"
            }
          }
        ],
        "requestBody": {
          "required": false,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "title": {
                    "type": "string",
                    "maxLength": 60,
                    "description": "Story title."
                  },
                  "mood": {
                    "type": "string",
                    "enum": [
                      "cosmic",
                      "cozy",
                      "eerie",
                      "triumphant",
                      "oceanic"
                    ],
                    "description": "Sets colours, scenery and motion."
                  },
                  "story": {
                    "type": "string",
                    "minLength": 20,
                    "maxLength": 1600,
                    "description": "The story text, 60–160 words."
                  }
                },
                "required": [
                  "title",
                  "mood",
                  "story"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Tool result",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ToolResult"
                }
              }
            }
          },
          "400": {
            "description": "Invalid arguments",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Unknown tool",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "409": {
            "description": "The tool needs an interactive MCP client",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "x-openai-isConsequential": false
      }
    },
    "/api/tool/play_game": {
      "post": {
        "operationId": "play_game",
        "summary": "Orbit Keeper (game)",
        "description": "Starts Orbit Keeper, a one-button arcade game: keep satellites in orbit around a planet by timing boosts, collect stardust and post the score to a shared leaderboard. Works with touch, mouse and keyboard.",
        "parameters": [
          {
            "name": "profile",
            "in": "query",
            "required": false,
            "description": "Client profile whose tool set and result style to use.",
            "schema": {
              "type": "string",
              "enum": [
                "all",
                "claude",
                "chatgpt",
                "grok",
                "grok-bot",
                "perplexity",
                "antigravity",
                "gemini"
              ],
              "default": "perplexity"
            }
          }
        ],
        "requestBody": {
          "required": false,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "player": {
                    "description": "Name for the leaderboard.",
                    "type": "string",
                    "maxLength": 20
                  },
                  "difficulty": {
                    "default": "normal",
                    "type": "string",
                    "enum": [
                      "chill",
                      "normal",
                      "frantic"
                    ]
                  }
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Tool result",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ToolResult"
                }
              }
            }
          },
          "400": {
            "description": "Invalid arguments",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Unknown tool",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "409": {
            "description": "The tool needs an interactive MCP client",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "x-openai-isConsequential": false
      }
    },
    "/api/tool/play_synth": {
      "post": {
        "operationId": "play_synth",
        "summary": "Synth and sequencer",
        "description": "Opens a playable synthesizer with a 16-step sequencer, drum machine and a reactive visualizer, all generated with Web Audio (no samples). The user can record a loop and download it.",
        "parameters": [
          {
            "name": "profile",
            "in": "query",
            "required": false,
            "description": "Client profile whose tool set and result style to use.",
            "schema": {
              "type": "string",
              "enum": [
                "all",
                "claude",
                "chatgpt",
                "grok",
                "grok-bot",
                "perplexity",
                "antigravity",
                "gemini"
              ],
              "default": "perplexity"
            }
          }
        ],
        "requestBody": {
          "required": false,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "preset": {
                    "default": "dreamy",
                    "description": "Starting sound and pattern.",
                    "type": "string",
                    "enum": [
                      "dreamy",
                      "arcade",
                      "glass",
                      "night-drive"
                    ]
                  },
                  "bpm": {
                    "default": 104,
                    "description": "Tempo in beats per minute.",
                    "type": "integer",
                    "minimum": 60,
                    "maximum": 180
                  }
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Tool result",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ToolResult"
                }
              }
            }
          },
          "400": {
            "description": "Invalid arguments",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Unknown tool",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "409": {
            "description": "The tool needs an interactive MCP client",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "x-openai-isConsequential": false
      }
    },
    "/api/tool/show_chart": {
      "post": {
        "operationId": "show_chart",
        "summary": "Animated chart",
        "description": "Draws an interactive, animated chart: planet data (bars, bubbles or a scale orbit view) or live data from this server (which clients have connected, poll votes). Hover or tap for details; switch views with smooth morphs.",
        "parameters": [
          {
            "name": "profile",
            "in": "query",
            "required": false,
            "description": "Client profile whose tool set and result style to use.",
            "schema": {
              "type": "string",
              "enum": [
                "all",
                "claude",
                "chatgpt",
                "grok",
                "grok-bot",
                "perplexity",
                "antigravity",
                "gemini"
              ],
              "default": "perplexity"
            }
          }
        ],
        "requestBody": {
          "required": false,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "dataset": {
                    "default": "planets",
                    "description": "planets = solar system facts; clients = who has connected; votes = the effect poll.",
                    "type": "string",
                    "enum": [
                      "planets",
                      "clients",
                      "votes"
                    ]
                  },
                  "style": {
                    "default": "bubbles",
                    "description": "Chart style (orbits only applies to planets).",
                    "type": "string",
                    "enum": [
                      "bars",
                      "bubbles",
                      "orbits"
                    ]
                  },
                  "metric": {
                    "default": "moons",
                    "description": "For planets: the value to plot.",
                    "type": "string",
                    "enum": [
                      "moons",
                      "massEarths",
                      "radiusKm",
                      "orbitDays"
                    ]
                  }
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Tool result",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ToolResult"
                }
              }
            }
          },
          "400": {
            "description": "Invalid arguments",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Unknown tool",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "409": {
            "description": "The tool needs an interactive MCP client",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "x-openai-isConsequential": false
      }
    },
    "/api/tool/show_globe": {
      "post": {
        "operationId": "show_globe",
        "summary": "Live globe",
        "description": "Shows a spinning 3D globe with live activity: which countries people have connected from (country-level counts only) and a feed of recent events (votes, guestbook entries, game scores) as they happen.",
        "parameters": [
          {
            "name": "profile",
            "in": "query",
            "required": false,
            "description": "Client profile whose tool set and result style to use.",
            "schema": {
              "type": "string",
              "enum": [
                "all",
                "claude",
                "chatgpt",
                "grok",
                "grok-bot",
                "perplexity",
                "antigravity",
                "gemini"
              ],
              "default": "perplexity"
            }
          }
        ],
        "requestBody": {
          "required": false,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {}
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Tool result",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ToolResult"
                }
              }
            }
          },
          "400": {
            "description": "Invalid arguments",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Unknown tool",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "409": {
            "description": "The tool needs an interactive MCP client",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "x-openai-isConsequential": false
      }
    },
    "/api/tool/focus_timer": {
      "post": {
        "operationId": "focus_timer",
        "summary": "Focus timer",
        "description": "Starts an animated focus timer (Pomodoro style) that can float in picture-in-picture, chimes at the end, offers a calendar file, and can send a push notification to a paired phone or computer when time is up.",
        "parameters": [
          {
            "name": "profile",
            "in": "query",
            "required": false,
            "description": "Client profile whose tool set and result style to use.",
            "schema": {
              "type": "string",
              "enum": [
                "all",
                "claude",
                "chatgpt",
                "grok",
                "grok-bot",
                "perplexity",
                "antigravity",
                "gemini"
              ],
              "default": "perplexity"
            }
          }
        ],
        "requestBody": {
          "required": false,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "minutes": {
                    "default": 25,
                    "description": "Length in minutes.",
                    "type": "number",
                    "minimum": 1,
                    "maximum": 120
                  },
                  "label": {
                    "default": "Focus",
                    "description": "What the time is for.",
                    "type": "string",
                    "maxLength": 60
                  }
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Tool result",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ToolResult"
                }
              }
            }
          },
          "400": {
            "description": "Invalid arguments",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Unknown tool",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "409": {
            "description": "The tool needs an interactive MCP client",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "x-openai-isConsequential": false
      }
    },
    "/api/tool/media_image": {
      "post": {
        "operationId": "media_image",
        "summary": "Image content",
        "description": "Returns a generated image as MCP image content (base64 in the result), so the client shows it inline and vision models can see it. Choose testcard, orbit (animated GIF), truchet (SVG) or alpha (transparency test).",
        "parameters": [
          {
            "name": "profile",
            "in": "query",
            "required": false,
            "description": "Client profile whose tool set and result style to use.",
            "schema": {
              "type": "string",
              "enum": [
                "all",
                "claude",
                "chatgpt",
                "grok",
                "grok-bot",
                "perplexity",
                "antigravity",
                "gemini"
              ],
              "default": "perplexity"
            }
          }
        ],
        "requestBody": {
          "required": false,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "id": {
                    "default": "testcard",
                    "description": "Which image.",
                    "type": "string",
                    "enum": [
                      "testcard",
                      "orbit",
                      "truchet",
                      "alpha"
                    ]
                  }
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Tool result",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ToolResult"
                }
              }
            }
          },
          "400": {
            "description": "Invalid arguments",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Unknown tool",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "409": {
            "description": "The tool needs an interactive MCP client",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "x-openai-isConsequential": false
      }
    },
    "/api/tool/media_audio": {
      "post": {
        "operationId": "media_audio",
        "summary": "Audio content",
        "description": "Returns generated audio as MCP audio content (base64), for clients that play audio or pass it to the model. Choose blip (short UI sound), chimes (8 s) or morse (\"HELLO MCP\").",
        "parameters": [
          {
            "name": "profile",
            "in": "query",
            "required": false,
            "description": "Client profile whose tool set and result style to use.",
            "schema": {
              "type": "string",
              "enum": [
                "all",
                "claude",
                "chatgpt",
                "grok",
                "grok-bot",
                "perplexity",
                "antigravity",
                "gemini"
              ],
              "default": "perplexity"
            }
          }
        ],
        "requestBody": {
          "required": false,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "id": {
                    "default": "chimes",
                    "description": "Which sound.",
                    "type": "string",
                    "enum": [
                      "blip",
                      "chimes",
                      "morse"
                    ]
                  }
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Tool result",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ToolResult"
                }
              }
            }
          },
          "400": {
            "description": "Invalid arguments",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Unknown tool",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "409": {
            "description": "The tool needs an interactive MCP client",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "x-openai-isConsequential": false
      }
    },
    "/api/tool/media_library": {
      "post": {
        "operationId": "media_library",
        "summary": "Media library",
        "description": "Lists the whole generated media library (images, audio, video with captions, HLS, a glTF model, PDF, CSV) as resource links with titles, MIME types and sizes. Filter by kind.",
        "parameters": [
          {
            "name": "profile",
            "in": "query",
            "required": false,
            "description": "Client profile whose tool set and result style to use.",
            "schema": {
              "type": "string",
              "enum": [
                "all",
                "claude",
                "chatgpt",
                "grok",
                "grok-bot",
                "perplexity",
                "antigravity",
                "gemini"
              ],
              "default": "perplexity"
            }
          }
        ],
        "requestBody": {
          "required": false,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "kind": {
                    "default": "all",
                    "description": "Only this kind of media.",
                    "type": "string",
                    "enum": [
                      "all",
                      "image",
                      "audio",
                      "video",
                      "model",
                      "doc"
                    ]
                  }
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Tool result",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ToolResult"
                }
              }
            }
          },
          "400": {
            "description": "Invalid arguments",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Unknown tool",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "409": {
            "description": "The tool needs an interactive MCP client",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "x-openai-isConsequential": false
      }
    },
    "/api/tool/embedded_resources": {
      "post": {
        "operationId": "embedded_resources",
        "summary": "Embedded resources",
        "description": "Returns embedded resources: a Markdown document and a CSV table as text resources and a PNG as a blob resource, each with annotations (audience, priority, lastModified).",
        "parameters": [
          {
            "name": "profile",
            "in": "query",
            "required": false,
            "description": "Client profile whose tool set and result style to use.",
            "schema": {
              "type": "string",
              "enum": [
                "all",
                "claude",
                "chatgpt",
                "grok",
                "grok-bot",
                "perplexity",
                "antigravity",
                "gemini"
              ],
              "default": "perplexity"
            }
          }
        ],
        "requestBody": {
          "required": false,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {}
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Tool result",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ToolResult"
                }
              }
            }
          },
          "400": {
            "description": "Invalid arguments",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Unknown tool",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "409": {
            "description": "The tool needs an interactive MCP client",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "x-openai-isConsequential": false
      }
    },
    "/api/tool/content_mix": {
      "post": {
        "operationId": "content_mix",
        "summary": "Every content type",
        "description": "One result with every MCP content type at once (text, image, audio, resource link, embedded resource) plus structured content checked against an output schema. Shows how a client lays out a mixed result.",
        "parameters": [
          {
            "name": "profile",
            "in": "query",
            "required": false,
            "description": "Client profile whose tool set and result style to use.",
            "schema": {
              "type": "string",
              "enum": [
                "all",
                "claude",
                "chatgpt",
                "grok",
                "grok-bot",
                "perplexity",
                "antigravity",
                "gemini"
              ],
              "default": "perplexity"
            }
          }
        ],
        "requestBody": {
          "required": false,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {}
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Tool result",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ToolResult"
                }
              }
            }
          },
          "400": {
            "description": "Invalid arguments",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Unknown tool",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "409": {
            "description": "The tool needs an interactive MCP client",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "x-openai-isConsequential": false
      }
    },
    "/api/tool/client_probe": {
      "post": {
        "operationId": "client_probe",
        "summary": "Client probe",
        "description": "Reports what this MCP client declared: protocol version, client name, capabilities and extensions (MCP Apps, elicitation, sampling, roots, tasks, events). In widget-capable clients it also shows the live host context (theme, display mode, platform, safe areas, locale). Useful for debugging what a c…",
        "parameters": [
          {
            "name": "profile",
            "in": "query",
            "required": false,
            "description": "Client profile whose tool set and result style to use.",
            "schema": {
              "type": "string",
              "enum": [
                "all",
                "claude",
                "chatgpt",
                "grok",
                "grok-bot",
                "perplexity",
                "antigravity",
                "gemini"
              ],
              "default": "perplexity"
            }
          }
        ],
        "requestBody": {
          "required": false,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {}
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Tool result",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ToolResult"
                }
              }
            }
          },
          "400": {
            "description": "Invalid arguments",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Unknown tool",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "409": {
            "description": "The tool needs an interactive MCP client",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "x-openai-isConsequential": false
      }
    },
    "/api/tool/notifications_setup": {
      "post": {
        "operationId": "notifications_setup",
        "summary": "Set up notifications",
        "description": "Explains how to receive push notifications from this server on a phone or computer and returns the link and a QR code to open the pairing page. Call this before push_notify if the user has no pairing code yet.",
        "parameters": [
          {
            "name": "profile",
            "in": "query",
            "required": false,
            "description": "Client profile whose tool set and result style to use.",
            "schema": {
              "type": "string",
              "enum": [
                "all",
                "claude",
                "chatgpt",
                "grok",
                "grok-bot",
                "perplexity",
                "antigravity",
                "gemini"
              ],
              "default": "perplexity"
            }
          }
        ],
        "requestBody": {
          "required": false,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {}
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Tool result",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ToolResult"
                }
              }
            }
          },
          "400": {
            "description": "Invalid arguments",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Unknown tool",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "409": {
            "description": "The tool needs an interactive MCP client",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "x-openai-isConsequential": false
      }
    },
    "/api/tool/push_notify": {
      "post": {
        "operationId": "push_notify",
        "summary": "Send a push notification",
        "description": "Sends a real Web Push notification to a phone or computer the user paired at https://mcp.actest.xyz/notify (they give you the 6-character pairing code). Can be delayed, so it also works as a reminder. Use only when the user asks; at most 10 per device per hour.",
        "parameters": [
          {
            "name": "profile",
            "in": "query",
            "required": false,
            "description": "Client profile whose tool set and result style to use.",
            "schema": {
              "type": "string",
              "enum": [
                "all",
                "claude",
                "chatgpt",
                "grok",
                "grok-bot",
                "perplexity",
                "antigravity",
                "gemini"
              ],
              "default": "perplexity"
            }
          }
        ],
        "requestBody": {
          "required": false,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "code": {
                    "type": "string",
                    "minLength": 6,
                    "maxLength": 8,
                    "description": "Pairing code shown on the /notify page, for example K7QX2M."
                  },
                  "title": {
                    "default": "Kitchen Sink",
                    "type": "string",
                    "maxLength": 60
                  },
                  "body": {
                    "type": "string",
                    "minLength": 1,
                    "maxLength": 240,
                    "description": "Notification text."
                  },
                  "delaySeconds": {
                    "default": 0,
                    "description": "Send after this many seconds (0 = now, up to 24 h).",
                    "type": "integer",
                    "minimum": 0,
                    "maximum": 86400
                  },
                  "link": {
                    "description": "Page to open when the notification is tapped. Must be on mcp.actest.xyz.",
                    "type": "string",
                    "maxLength": 300
                  }
                },
                "required": [
                  "code",
                  "body"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Tool result",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ToolResult"
                }
              }
            }
          },
          "400": {
            "description": "Invalid arguments",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Unknown tool",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "409": {
            "description": "The tool needs an interactive MCP client",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "x-openai-isConsequential": true
      }
    },
    "/api/tool/calendar_invite": {
      "post": {
        "operationId": "calendar_invite",
        "summary": "Calendar invite",
        "description": "Creates a calendar event the user can add with one tap: an .ics file link (Apple Calendar, Outlook) plus Google Calendar and Outlook web links. Nothing is added to any calendar automatically.",
        "parameters": [
          {
            "name": "profile",
            "in": "query",
            "required": false,
            "description": "Client profile whose tool set and result style to use.",
            "schema": {
              "type": "string",
              "enum": [
                "all",
                "claude",
                "chatgpt",
                "grok",
                "grok-bot",
                "perplexity",
                "antigravity",
                "gemini"
              ],
              "default": "perplexity"
            }
          }
        ],
        "requestBody": {
          "required": false,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "title": {
                    "type": "string",
                    "minLength": 1,
                    "maxLength": 100
                  },
                  "start": {
                    "type": "string",
                    "description": "Start time, ISO 8601 with time zone offset, e.g. 2026-12-05T15:00:00-08:00."
                  },
                  "minutes": {
                    "default": 30,
                    "type": "integer",
                    "minimum": 5,
                    "maximum": 1440
                  },
                  "details": {
                    "type": "string",
                    "maxLength": 500
                  },
                  "reminderMinutes": {
                    "default": 10,
                    "description": "Alert this many minutes before.",
                    "type": "integer",
                    "minimum": 0,
                    "maximum": 1440
                  }
                },
                "required": [
                  "title",
                  "start"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Tool result",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ToolResult"
                }
              }
            }
          },
          "400": {
            "description": "Invalid arguments",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Unknown tool",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "409": {
            "description": "The tool needs an interactive MCP client",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "x-openai-isConsequential": false
      }
    },
    "/api/tool/poll_vote": {
      "post": {
        "operationId": "poll_vote",
        "summary": "Vote in a poll",
        "description": "Casts a vote in one of the live community polls and returns the current results. Polls: effect (which effect grabbed you most), client (where are you trying this), surface (desktop or mobile). Only vote with the user's choice.",
        "parameters": [
          {
            "name": "profile",
            "in": "query",
            "required": false,
            "description": "Client profile whose tool set and result style to use.",
            "schema": {
              "type": "string",
              "enum": [
                "all",
                "claude",
                "chatgpt",
                "grok",
                "grok-bot",
                "perplexity",
                "antigravity",
                "gemini"
              ],
              "default": "perplexity"
            }
          }
        ],
        "requestBody": {
          "required": false,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "poll": {
                    "type": "string",
                    "enum": [
                      "effect",
                      "client",
                      "surface"
                    ],
                    "description": "Which poll."
                  },
                  "option": {
                    "type": "string",
                    "maxLength": 40,
                    "description": "The option text, e.g. 'Aurora shader'."
                  }
                },
                "required": [
                  "poll",
                  "option"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Tool result",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ToolResult"
                }
              }
            }
          },
          "400": {
            "description": "Invalid arguments",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Unknown tool",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "409": {
            "description": "The tool needs an interactive MCP client",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "x-openai-isConsequential": true
      }
    },
    "/api/tool/guestbook_sign": {
      "post": {
        "operationId": "guestbook_sign",
        "summary": "Sign the guestbook",
        "description": "Adds a short public message (140 characters) to the Kitchen Sink guestbook, shown on /live and in the pulse widget. Entries are public: only sign with the user's own words and the name they choose.",
        "parameters": [
          {
            "name": "profile",
            "in": "query",
            "required": false,
            "description": "Client profile whose tool set and result style to use.",
            "schema": {
              "type": "string",
              "enum": [
                "all",
                "claude",
                "chatgpt",
                "grok",
                "grok-bot",
                "perplexity",
                "antigravity",
                "gemini"
              ],
              "default": "perplexity"
            }
          }
        ],
        "requestBody": {
          "required": false,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "name": {
                    "type": "string",
                    "maxLength": 32,
                    "description": "Display name the user chose."
                  },
                  "message": {
                    "type": "string",
                    "minLength": 1,
                    "maxLength": 140
                  },
                  "emoji": {
                    "default": "✨",
                    "type": "string",
                    "maxLength": 8
                  }
                },
                "required": [
                  "name",
                  "message"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Tool result",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ToolResult"
                }
              }
            }
          },
          "400": {
            "description": "Invalid arguments",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Unknown tool",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "409": {
            "description": "The tool needs an interactive MCP client",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "x-openai-isConsequential": true
      }
    },
    "/api/tool/share_card": {
      "post": {
        "operationId": "share_card",
        "summary": "Make a share card",
        "description": "Creates a public share page with a preview card for a short quote or result (for example a haiku, a score or a story title), plus ready-made share links for X, Bluesky, LinkedIn, WhatsApp, Telegram and email, and a QR code.",
        "parameters": [
          {
            "name": "profile",
            "in": "query",
            "required": false,
            "description": "Client profile whose tool set and result style to use.",
            "schema": {
              "type": "string",
              "enum": [
                "all",
                "claude",
                "chatgpt",
                "grok",
                "grok-bot",
                "perplexity",
                "antigravity",
                "gemini"
              ],
              "default": "perplexity"
            }
          }
        ],
        "requestBody": {
          "required": false,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "title": {
                    "type": "string",
                    "minLength": 1,
                    "maxLength": 80
                  },
                  "text": {
                    "default": "",
                    "type": "string",
                    "maxLength": 280
                  },
                  "theme": {
                    "default": "aurora",
                    "type": "string",
                    "enum": [
                      "aurora",
                      "sunset",
                      "mono",
                      "ocean"
                    ]
                  }
                },
                "required": [
                  "title"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Tool result",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ToolResult"
                }
              }
            }
          },
          "400": {
            "description": "Invalid arguments",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Unknown tool",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "409": {
            "description": "The tool needs an interactive MCP client",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "x-openai-isConsequential": true
      }
    },
    "/api/tool/community_pulse": {
      "post": {
        "operationId": "community_pulse",
        "summary": "Community pulse",
        "description": "Opens the live community board: polls with animated results, the guestbook, the Orbit Keeper leaderboard, a live event feed, and a QR code for turning on push notifications. Updates in real time.",
        "parameters": [
          {
            "name": "profile",
            "in": "query",
            "required": false,
            "description": "Client profile whose tool set and result style to use.",
            "schema": {
              "type": "string",
              "enum": [
                "all",
                "claude",
                "chatgpt",
                "grok",
                "grok-bot",
                "perplexity",
                "antigravity",
                "gemini"
              ],
              "default": "perplexity"
            }
          }
        ],
        "requestBody": {
          "required": false,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "tab": {
                    "default": "polls",
                    "type": "string",
                    "enum": [
                      "polls",
                      "guestbook",
                      "leaderboard",
                      "feed",
                      "notify"
                    ]
                  }
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Tool result",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ToolResult"
                }
              }
            }
          },
          "400": {
            "description": "Invalid arguments",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Unknown tool",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "409": {
            "description": "The tool needs an interactive MCP client",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "x-openai-isConsequential": false
      }
    },
    "/api/tool/activity_feed": {
      "post": {
        "operationId": "activity_feed",
        "summary": "Activity feed",
        "description": "Returns the latest community events (votes, guestbook entries, scores, probes by client) with ids, so an agent can poll for new activity with sinceId. Also available as RSS, Atom and JSON Feed, and live at /live.",
        "parameters": [
          {
            "name": "profile",
            "in": "query",
            "required": false,
            "description": "Client profile whose tool set and result style to use.",
            "schema": {
              "type": "string",
              "enum": [
                "all",
                "claude",
                "chatgpt",
                "grok",
                "grok-bot",
                "perplexity",
                "antigravity",
                "gemini"
              ],
              "default": "perplexity"
            }
          }
        ],
        "requestBody": {
          "required": false,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "sinceId": {
                    "default": 0,
                    "description": "Only events newer than this id.",
                    "type": "integer",
                    "minimum": 0,
                    "maximum": 9007199254740991
                  },
                  "limit": {
                    "default": 15,
                    "type": "integer",
                    "minimum": 1,
                    "maximum": 50
                  }
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Tool result",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ToolResult"
                }
              }
            }
          },
          "400": {
            "description": "Invalid arguments",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Unknown tool",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "409": {
            "description": "The tool needs an interactive MCP client",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "x-openai-isConsequential": false
      }
    },
    "/api/tool/routine_webhook_subscribe": {
      "post": {
        "operationId": "routine_webhook_subscribe",
        "summary": "Subscribe a webhook",
        "description": "Registers an HTTPS webhook (for example a Grok Bot routine trigger URL) that receives a signed POST whenever something happens on the Kitchen Sink: votes, guestbook entries, high scores, share cards. Requests are signed with Standard Webhooks headers (webhook-id, webhook-timestamp, webhook-signatur…",
        "parameters": [
          {
            "name": "profile",
            "in": "query",
            "required": false,
            "description": "Client profile whose tool set and result style to use.",
            "schema": {
              "type": "string",
              "enum": [
                "all",
                "claude",
                "chatgpt",
                "grok",
                "grok-bot",
                "perplexity",
                "antigravity",
                "gemini"
              ],
              "default": "perplexity"
            }
          }
        ],
        "requestBody": {
          "required": false,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "url": {
                    "type": "string",
                    "format": "uri",
                    "description": "HTTPS endpoint to POST events to."
                  },
                  "events": {
                    "default": [
                      "guestbook",
                      "score"
                    ],
                    "description": "Event kinds, or * for all.",
                    "minItems": 1,
                    "type": "array",
                    "items": {
                      "type": "string",
                      "enum": [
                        "*",
                        "vote",
                        "guestbook",
                        "score",
                        "share",
                        "probe",
                        "story",
                        "push",
                        "device",
                        "timer",
                        "test"
                      ]
                    }
                  },
                  "ttlHours": {
                    "default": 24,
                    "type": "number",
                    "minimum": 1,
                    "maximum": 168
                  },
                  "sendTest": {
                    "default": true,
                    "description": "Send a test event right away.",
                    "type": "boolean"
                  }
                },
                "required": [
                  "url"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Tool result",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ToolResult"
                }
              }
            }
          },
          "400": {
            "description": "Invalid arguments",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Unknown tool",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "409": {
            "description": "The tool needs an interactive MCP client",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "x-openai-isConsequential": true
      }
    },
    "/api/tool/routine_webhook_unsubscribe": {
      "post": {
        "operationId": "routine_webhook_unsubscribe",
        "summary": "Remove a webhook",
        "description": "Removes a webhook registered with routine_webhook_subscribe, by its id or URL.",
        "parameters": [
          {
            "name": "profile",
            "in": "query",
            "required": false,
            "description": "Client profile whose tool set and result style to use.",
            "schema": {
              "type": "string",
              "enum": [
                "all",
                "claude",
                "chatgpt",
                "grok",
                "grok-bot",
                "perplexity",
                "antigravity",
                "gemini"
              ],
              "default": "perplexity"
            }
          }
        ],
        "requestBody": {
          "required": false,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "idOrUrl": {
                    "type": "string",
                    "minLength": 3,
                    "maxLength": 500
                  }
                },
                "required": [
                  "idOrUrl"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Tool result",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ToolResult"
                }
              }
            }
          },
          "400": {
            "description": "Invalid arguments",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Unknown tool",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "409": {
            "description": "The tool needs an interactive MCP client",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "x-openai-isConsequential": true
      }
    }
  },
  "components": {
    "schemas": {
      "ToolResult": {
        "type": "object",
        "description": "An MCP CallToolResult.",
        "properties": {
          "content": {
            "type": "array",
            "description": "Content blocks: text, image (base64), audio (base64), resource_link (URL) and embedded resources.",
            "items": {
              "type": "object",
              "additionalProperties": true
            }
          },
          "structuredContent": {
            "type": "object",
            "additionalProperties": true,
            "description": "Machine-readable result, when the tool has one."
          },
          "_meta": {
            "type": "object",
            "additionalProperties": true,
            "description": "Widget data and hints for hosts; safe to ignore."
          },
          "isError": {
            "type": "boolean"
          }
        },
        "required": [
          "content",
          "isError"
        ]
      },
      "Error": {
        "type": "object",
        "properties": {
          "error": {
            "type": "string"
          }
        },
        "required": [
          "error"
        ]
      }
    }
  }
}