{
 "documentation_revision": 10,
 "api_revision": 58,
 "source": "Commands + ToolSchemas + PlatformApi.openApi",
 "operation": {
  "path": "/v2/call",
  "method": "POST",
  "mcp_tool": "bridgit_sensors_read",
  "idempotency_required": false,
  "documentation": "https://bridgit.cc/learn/operations/v2-sensors.read.json",
  "operation_url": "https://bridgit.cc/learn/operations/v2-sensors.read.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": {"which": {
     "maxItems": 5,
     "description": "Default light, pressure and motion",
     "type": "array",
     "items": {
      "type": "string",
      "enum": [
       "light",
       "pressure",
       "motion",
       "proximity",
       "temperature"
      ]
     }
    }},
    "required": []
   },
   "request_schema": {
    "additionalProperties": false,
    "type": "object",
    "required": ["tool"],
    "properties": {
     "arguments": {
      "additionalProperties": false,
      "type": "object",
      "properties": {"which": {
       "maxItems": 5,
       "description": "Default light, pressure and motion",
       "type": "array",
       "items": {
        "type": "string",
        "enum": [
         "light",
         "pressure",
         "motion",
         "proximity",
         "temperature"
        ]
       }
      }},
      "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": ["sensors.read"]
     }
    }
   }
  },
  "mcp_input_schema": {
   "additionalProperties": false,
   "type": "object",
   "properties": {"which": {
    "maxItems": 5,
    "description": "Default light, pressure and motion",
    "type": "array",
    "items": {
     "type": "string",
     "enum": [
      "light",
      "pressure",
      "motion",
      "proximity",
      "temperature"
     ]
    }
   }},
   "required": []
  },
  "mcp": {
   "path": "/mcp",
   "arguments_schema": "mcp_input_schema",
   "tool": "bridgit_sensors_read"
  },
  "required_arguments_transport": "mcp",
  "tool": "sensors.read"
 }
}
