{
 "documentation_revision": 10,
 "api_revision": 58,
 "source": "Commands + ToolSchemas + PlatformApi.openApi",
 "operation": {
  "path": "/v2/call",
  "method": "POST",
  "mcp_tool": "bridgit_events",
  "idempotency_required": false,
  "documentation": "https://bridgit.cc/learn/operations/v2-events.json",
  "operation_url": "https://bridgit.cc/learn/operations/v2-events.json",
  "required_arguments": [],
  "http": {
   "path": "/v2/call",
   "headers": {"Authorization": "Bearer <your key>"},
   "instructions": "Send JSON {tool, arguments}. HTTP retry identity belongs in the Idempotency-Key header, never arguments.idempotency_key; MCP uses idempotency_key inside its tool arguments.",
   "method": "POST",
   "arguments_schema": {
    "additionalProperties": false,
    "type": "object",
    "properties": {
     "wait": {
      "description": "Seconds to wait for a change before replying",
      "maximum": 55,
      "type": "integer",
      "minimum": 0
     },
     "after": {
      "description": "Return events after this sequence number",
      "type": "integer",
      "minimum": 0
     }
    },
    "required": []
   },
   "request_schema": {
    "additionalProperties": false,
    "type": "object",
    "required": ["tool"],
    "properties": {
     "arguments": {
      "additionalProperties": false,
      "type": "object",
      "properties": {
       "wait": {
        "description": "Seconds to wait for a change before replying",
        "maximum": 55,
        "type": "integer",
        "minimum": 0
       },
       "after": {
        "description": "Return events after this sequence number",
        "type": "integer",
        "minimum": 0
       }
      },
      "required": []
     },
     "tool": {
      "description": "Dotted tool name, e.g. screen.observe (x-bridgit-tools lists the MCP names: drop the bridgit_ prefix and use dots)",
      "type": "string",
      "enum": ["events"]
     }
    }
   }
  },
  "mcp_input_schema": {
   "additionalProperties": false,
   "type": "object",
   "properties": {
    "wait": {
     "description": "Seconds to wait for a change before replying",
     "maximum": 55,
     "type": "integer",
     "minimum": 0
    },
    "after": {
     "description": "Return events after this sequence number",
     "type": "integer",
     "minimum": 0
    }
   },
   "required": []
  },
  "mcp": {
   "path": "/mcp",
   "arguments_schema": "mcp_input_schema",
   "tool": "bridgit_events"
  },
  "required_arguments_transport": "mcp",
  "tool": "events"
 }
}
