{
  "name": "fleetdeck",
  "version": "0.1.1",
  "endpoint": "https://fleetdeck.co/api/mcp",
  "transport": "Streamable HTTP (stateless POST) or stdio",
  "tools": [
    {
      "name": "fleetdeck_devices",
      "description": "List dashboard phones assigned to this key, including assigned rental devices.",
      "inputSchema": {
        "type": "object",
        "properties": {},
        "$schema": "http://json-schema.org/draft-07/schema#"
      },
      "annotations": {
        "readOnlyHint": true,
        "destructiveHint": false,
        "idempotentHint": true,
        "openWorldHint": true
      },
      "execution": {
        "taskSupport": "forbidden"
      }
    },
    {
      "name": "fleetdeck_capabilities",
      "description": "Discover native tools, driver, coordinate contract and restrictions for a device.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "deviceId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 128,
            "pattern": "^[A-Za-z0-9._:-]+$"
          }
        },
        "required": [
          "deviceId"
        ],
        "additionalProperties": false,
        "$schema": "http://json-schema.org/draft-07/schema#"
      },
      "annotations": {
        "readOnlyHint": true,
        "destructiveHint": false,
        "idempotentHint": true,
        "openWorldHint": true
      },
      "execution": {
        "taskSupport": "forbidden"
      }
    },
    {
      "name": "fleetdeck_acquire",
      "description": "Acquire an exclusive automation session. A busy device fails instead of mixing agents' input.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "deviceId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 128,
            "pattern": "^[A-Za-z0-9._:-]+$"
          },
          "ttlSeconds": {
            "type": "integer",
            "minimum": 30,
            "maximum": 900,
            "default": 120
          }
        },
        "required": [
          "deviceId"
        ],
        "additionalProperties": false,
        "$schema": "http://json-schema.org/draft-07/schema#"
      },
      "annotations": {
        "readOnlyHint": false,
        "destructiveHint": true,
        "idempotentHint": false,
        "openWorldHint": true
      },
      "execution": {
        "taskSupport": "forbidden"
      }
    },
    {
      "name": "fleetdeck_heartbeat",
      "description": "Renew a session before its returned expiresAt. Renewal is capped by key expiry. A running job worker also renews its still-active child sessions; expired or released sessions must be acquired again.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "sessionId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 128,
            "pattern": "^[A-Za-z0-9._:-]+$"
          }
        },
        "required": [
          "sessionId"
        ],
        "additionalProperties": false,
        "$schema": "http://json-schema.org/draft-07/schema#"
      },
      "annotations": {
        "readOnlyHint": false,
        "destructiveHint": true,
        "idempotentHint": false,
        "openWorldHint": true
      },
      "execution": {
        "taskSupport": "forbidden"
      }
    },
    {
      "name": "fleetdeck_release",
      "description": "Release an automation session after completing or abandoning the task.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "sessionId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 128,
            "pattern": "^[A-Za-z0-9._:-]+$"
          }
        },
        "required": [
          "sessionId"
        ],
        "additionalProperties": false,
        "$schema": "http://json-schema.org/draft-07/schema#"
      },
      "annotations": {
        "readOnlyHint": false,
        "destructiveHint": true,
        "idempotentHint": false,
        "openWorldHint": true
      },
      "execution": {
        "taskSupport": "forbidden"
      }
    },
    {
      "name": "fleetdeck_action",
      "description": "Execute one native action. Supply a stable unique requestId for each intended action. Return includes submission/completion status and screenshot images.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "sessionId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 128,
            "pattern": "^[A-Za-z0-9._:-]+$"
          },
          "requestId": {
            "$ref": "#/properties/sessionId"
          },
          "command": {
            "anyOf": [
              {
                "type": "object",
                "properties": {
                  "type": {
                    "type": "string",
                    "const": "screenshot"
                  }
                },
                "required": [
                  "type"
                ],
                "additionalProperties": false
              },
              {
                "type": "object",
                "properties": {
                  "type": {
                    "type": "string",
                    "const": "inspect"
                  }
                },
                "required": [
                  "type"
                ],
                "additionalProperties": false
              },
              {
                "type": "object",
                "properties": {
                  "type": {
                    "type": "string",
                    "const": "apps"
                  }
                },
                "required": [
                  "type"
                ],
                "additionalProperties": false
              },
              {
                "type": "object",
                "properties": {
                  "type": {
                    "type": "string",
                    "const": "tap"
                  },
                  "x": {
                    "type": "number",
                    "minimum": 0,
                    "maximum": 1
                  },
                  "y": {
                    "type": "number",
                    "minimum": 0,
                    "maximum": 1
                  }
                },
                "required": [
                  "type",
                  "x",
                  "y"
                ],
                "additionalProperties": false
              },
              {
                "type": "object",
                "properties": {
                  "type": {
                    "type": "string",
                    "const": "double_tap"
                  },
                  "x": {
                    "$ref": "#/properties/command/anyOf/3/properties/x"
                  },
                  "y": {
                    "$ref": "#/properties/command/anyOf/3/properties/y"
                  }
                },
                "required": [
                  "type",
                  "x",
                  "y"
                ],
                "additionalProperties": false
              },
              {
                "type": "object",
                "properties": {
                  "type": {
                    "type": "string",
                    "const": "long_press"
                  },
                  "x": {
                    "$ref": "#/properties/command/anyOf/3/properties/x"
                  },
                  "y": {
                    "$ref": "#/properties/command/anyOf/3/properties/y"
                  },
                  "ms": {
                    "type": "integer",
                    "minimum": 200,
                    "maximum": 1500,
                    "default": 600
                  }
                },
                "required": [
                  "type",
                  "x",
                  "y"
                ],
                "additionalProperties": false
              },
              {
                "type": "object",
                "properties": {
                  "type": {
                    "type": "string",
                    "const": "swipe"
                  },
                  "from": {
                    "type": "object",
                    "properties": {
                      "x": {
                        "$ref": "#/properties/command/anyOf/3/properties/x"
                      },
                      "y": {
                        "$ref": "#/properties/command/anyOf/3/properties/y"
                      }
                    },
                    "required": [
                      "x",
                      "y"
                    ],
                    "additionalProperties": false
                  },
                  "to": {
                    "$ref": "#/properties/command/anyOf/6/properties/from"
                  },
                  "ms": {
                    "type": "integer",
                    "minimum": 100,
                    "maximum": 1200,
                    "default": 300
                  }
                },
                "required": [
                  "type",
                  "from",
                  "to"
                ],
                "additionalProperties": false
              },
              {
                "type": "object",
                "properties": {
                  "type": {
                    "type": "string",
                    "const": "text"
                  },
                  "value": {
                    "type": "string",
                    "maxLength": 16000
                  }
                },
                "required": [
                  "type",
                  "value"
                ],
                "additionalProperties": false
              },
              {
                "type": "object",
                "properties": {
                  "type": {
                    "type": "string",
                    "const": "key"
                  },
                  "key": {
                    "type": "string",
                    "enum": [
                      "return",
                      "backspace",
                      "space",
                      "tab",
                      "up",
                      "down",
                      "left",
                      "right"
                    ]
                  }
                },
                "required": [
                  "type",
                  "key"
                ],
                "additionalProperties": false
              },
              {
                "type": "object",
                "properties": {
                  "type": {
                    "type": "string",
                    "const": "button"
                  },
                  "name": {
                    "type": "string",
                    "enum": [
                      "home",
                      "back",
                      "app_switcher",
                      "wake",
                      "lock",
                      "volume_up",
                      "volume_down"
                    ]
                  }
                },
                "required": [
                  "type",
                  "name"
                ],
                "additionalProperties": false
              },
              {
                "type": "object",
                "properties": {
                  "type": {
                    "type": "string",
                    "const": "open_url"
                  },
                  "url": {
                    "type": "string",
                    "minLength": 1,
                    "maxLength": 4096
                  }
                },
                "required": [
                  "type",
                  "url"
                ],
                "additionalProperties": false
              },
              {
                "type": "object",
                "properties": {
                  "type": {
                    "type": "string",
                    "const": "launch_app"
                  },
                  "bundleId": {
                    "type": "string",
                    "minLength": 1,
                    "maxLength": 255,
                    "pattern": "^[A-Za-z0-9][A-Za-z0-9._-]*$"
                  }
                },
                "required": [
                  "type",
                  "bundleId"
                ],
                "additionalProperties": false
              },
              {
                "type": "object",
                "properties": {
                  "type": {
                    "type": "string",
                    "const": "kill_app"
                  },
                  "bundleId": {
                    "$ref": "#/properties/command/anyOf/11/properties/bundleId"
                  }
                },
                "required": [
                  "type",
                  "bundleId"
                ],
                "additionalProperties": false
              },
              {
                "type": "object",
                "properties": {
                  "type": {
                    "type": "string",
                    "const": "clipboard_get"
                  }
                },
                "required": [
                  "type"
                ],
                "additionalProperties": false
              },
              {
                "type": "object",
                "properties": {
                  "type": {
                    "type": "string",
                    "const": "set_clipboard"
                  },
                  "value": {
                    "$ref": "#/properties/command/anyOf/7/properties/value"
                  }
                },
                "required": [
                  "type",
                  "value"
                ],
                "additionalProperties": false
              },
              {
                "type": "object",
                "properties": {
                  "type": {
                    "type": "string",
                    "const": "push_media"
                  },
                  "fileName": {
                    "type": "string",
                    "minLength": 1,
                    "maxLength": 160,
                    "pattern": "^[A-Za-z0-9][A-Za-z0-9._ -]*$"
                  },
                  "mime": {
                    "type": "string",
                    "enum": [
                      "image/jpeg",
                      "image/png",
                      "video/mp4"
                    ]
                  },
                  "dataB64": {
                    "type": "string",
                    "minLength": 4,
                    "maxLength": 2800000,
                    "pattern": "^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?$"
                  }
                },
                "required": [
                  "type",
                  "fileName",
                  "mime",
                  "dataB64"
                ],
                "additionalProperties": false
              },
              {
                "type": "object",
                "properties": {
                  "type": {
                    "type": "string",
                    "const": "media_chunk"
                  },
                  "uploadId": {
                    "type": "string",
                    "format": "uuid"
                  },
                  "chunkIndex": {
                    "type": "integer",
                    "minimum": 0,
                    "maximum": 199
                  },
                  "chunkCount": {
                    "type": "integer",
                    "minimum": 1,
                    "maximum": 200
                  },
                  "totalBytes": {
                    "type": "integer",
                    "minimum": 1,
                    "maximum": 104857600
                  },
                  "fileName": {
                    "$ref": "#/properties/command/anyOf/15/properties/fileName"
                  },
                  "mime": {
                    "type": "string",
                    "enum": [
                      "image/jpeg",
                      "image/png",
                      "video/mp4"
                    ]
                  },
                  "dataB64": {
                    "type": "string",
                    "minLength": 4,
                    "maxLength": 1400000,
                    "pattern": "^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?$"
                  }
                },
                "required": [
                  "type",
                  "uploadId",
                  "chunkIndex",
                  "chunkCount",
                  "totalBytes",
                  "fileName",
                  "mime",
                  "dataB64"
                ],
                "additionalProperties": false
              },
              {
                "type": "object",
                "properties": {
                  "type": {
                    "type": "string",
                    "const": "native_tool"
                  },
                  "name": {
                    "$ref": "#/properties/sessionId"
                  },
                  "arguments": {
                    "type": "object",
                    "additionalProperties": {},
                    "default": {}
                  }
                },
                "required": [
                  "type",
                  "name"
                ],
                "additionalProperties": false
              }
            ]
          }
        },
        "required": [
          "sessionId",
          "requestId",
          "command"
        ],
        "additionalProperties": false,
        "$schema": "http://json-schema.org/draft-07/schema#"
      },
      "annotations": {
        "readOnlyHint": false,
        "destructiveHint": true,
        "idempotentHint": false,
        "openWorldHint": true
      },
      "execution": {
        "taskSupport": "forbidden"
      }
    },
    {
      "name": "fleetdeck_action_status",
      "description": "Read an action's outcome without re-executing it.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "sessionId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 128,
            "pattern": "^[A-Za-z0-9._:-]+$"
          },
          "requestId": {
            "$ref": "#/properties/sessionId"
          }
        },
        "required": [
          "sessionId",
          "requestId"
        ],
        "additionalProperties": false,
        "$schema": "http://json-schema.org/draft-07/schema#"
      },
      "annotations": {
        "readOnlyHint": true,
        "destructiveHint": false,
        "idempotentHint": true,
        "openWorldHint": true
      },
      "execution": {
        "taskSupport": "forbidden"
      }
    },
    {
      "name": "fleetdeck_screenshot",
      "description": "Return a fresh screenshot image. Divide image x/y by width/height for normalized touch coordinates.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "sessionId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 128,
            "pattern": "^[A-Za-z0-9._:-]+$"
          },
          "requestId": {
            "$ref": "#/properties/sessionId"
          }
        },
        "required": [
          "sessionId",
          "requestId"
        ],
        "additionalProperties": false,
        "$schema": "http://json-schema.org/draft-07/schema#"
      },
      "annotations": {
        "readOnlyHint": true,
        "destructiveHint": false,
        "idempotentHint": true,
        "openWorldHint": true
      },
      "execution": {
        "taskSupport": "forbidden"
      }
    },
    {
      "name": "fleetdeck_inspect",
      "description": "Run inspect on the selected session. Inspect the screen to verify effects.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "sessionId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 128,
            "pattern": "^[A-Za-z0-9._:-]+$"
          },
          "requestId": {
            "$ref": "#/properties/sessionId"
          }
        },
        "required": [
          "sessionId",
          "requestId"
        ],
        "additionalProperties": false,
        "$schema": "http://json-schema.org/draft-07/schema#"
      },
      "annotations": {
        "readOnlyHint": true,
        "destructiveHint": false,
        "idempotentHint": true,
        "openWorldHint": true
      },
      "execution": {
        "taskSupport": "forbidden"
      }
    },
    {
      "name": "fleetdeck_apps",
      "description": "Run apps on the selected session. Inspect the screen to verify effects.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "sessionId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 128,
            "pattern": "^[A-Za-z0-9._:-]+$"
          },
          "requestId": {
            "$ref": "#/properties/sessionId"
          }
        },
        "required": [
          "sessionId",
          "requestId"
        ],
        "additionalProperties": false,
        "$schema": "http://json-schema.org/draft-07/schema#"
      },
      "annotations": {
        "readOnlyHint": true,
        "destructiveHint": false,
        "idempotentHint": true,
        "openWorldHint": true
      },
      "execution": {
        "taskSupport": "forbidden"
      }
    },
    {
      "name": "fleetdeck_tap",
      "description": "Run tap on the selected session. Inspect the screen to verify effects.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "sessionId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 128,
            "pattern": "^[A-Za-z0-9._:-]+$"
          },
          "requestId": {
            "$ref": "#/properties/sessionId"
          },
          "x": {
            "type": "number",
            "minimum": 0,
            "maximum": 1
          },
          "y": {
            "type": "number",
            "minimum": 0,
            "maximum": 1
          }
        },
        "required": [
          "sessionId",
          "requestId",
          "x",
          "y"
        ],
        "additionalProperties": false,
        "$schema": "http://json-schema.org/draft-07/schema#"
      },
      "annotations": {
        "readOnlyHint": false,
        "destructiveHint": true,
        "idempotentHint": false,
        "openWorldHint": true
      },
      "execution": {
        "taskSupport": "forbidden"
      }
    },
    {
      "name": "fleetdeck_double_tap",
      "description": "Run double_tap on the selected session. Inspect the screen to verify effects.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "sessionId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 128,
            "pattern": "^[A-Za-z0-9._:-]+$"
          },
          "requestId": {
            "$ref": "#/properties/sessionId"
          },
          "x": {
            "type": "number",
            "minimum": 0,
            "maximum": 1
          },
          "y": {
            "type": "number",
            "minimum": 0,
            "maximum": 1
          }
        },
        "required": [
          "sessionId",
          "requestId",
          "x",
          "y"
        ],
        "additionalProperties": false,
        "$schema": "http://json-schema.org/draft-07/schema#"
      },
      "annotations": {
        "readOnlyHint": false,
        "destructiveHint": true,
        "idempotentHint": false,
        "openWorldHint": true
      },
      "execution": {
        "taskSupport": "forbidden"
      }
    },
    {
      "name": "fleetdeck_long_press",
      "description": "Run long_press on the selected session. Inspect the screen to verify effects.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "sessionId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 128,
            "pattern": "^[A-Za-z0-9._:-]+$"
          },
          "requestId": {
            "$ref": "#/properties/sessionId"
          },
          "x": {
            "type": "number",
            "minimum": 0,
            "maximum": 1
          },
          "y": {
            "type": "number",
            "minimum": 0,
            "maximum": 1
          },
          "ms": {
            "type": "integer",
            "minimum": 200,
            "maximum": 1500,
            "default": 600
          }
        },
        "required": [
          "sessionId",
          "requestId",
          "x",
          "y"
        ],
        "additionalProperties": false,
        "$schema": "http://json-schema.org/draft-07/schema#"
      },
      "annotations": {
        "readOnlyHint": false,
        "destructiveHint": true,
        "idempotentHint": false,
        "openWorldHint": true
      },
      "execution": {
        "taskSupport": "forbidden"
      }
    },
    {
      "name": "fleetdeck_swipe",
      "description": "Run swipe on the selected session. Inspect the screen to verify effects.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "sessionId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 128,
            "pattern": "^[A-Za-z0-9._:-]+$"
          },
          "requestId": {
            "$ref": "#/properties/sessionId"
          },
          "from": {
            "type": "object",
            "properties": {
              "x": {
                "type": "number",
                "minimum": 0,
                "maximum": 1
              },
              "y": {
                "type": "number",
                "minimum": 0,
                "maximum": 1
              }
            },
            "required": [
              "x",
              "y"
            ],
            "additionalProperties": false
          },
          "to": {
            "$ref": "#/properties/from"
          },
          "ms": {
            "type": "integer",
            "minimum": 100,
            "maximum": 1200,
            "default": 300
          }
        },
        "required": [
          "sessionId",
          "requestId",
          "from",
          "to"
        ],
        "additionalProperties": false,
        "$schema": "http://json-schema.org/draft-07/schema#"
      },
      "annotations": {
        "readOnlyHint": false,
        "destructiveHint": true,
        "idempotentHint": false,
        "openWorldHint": true
      },
      "execution": {
        "taskSupport": "forbidden"
      }
    },
    {
      "name": "fleetdeck_text",
      "description": "Run text on the selected session. Inspect the screen to verify effects.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "sessionId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 128,
            "pattern": "^[A-Za-z0-9._:-]+$"
          },
          "requestId": {
            "$ref": "#/properties/sessionId"
          },
          "value": {
            "type": "string",
            "maxLength": 16000
          }
        },
        "required": [
          "sessionId",
          "requestId",
          "value"
        ],
        "additionalProperties": false,
        "$schema": "http://json-schema.org/draft-07/schema#"
      },
      "annotations": {
        "readOnlyHint": false,
        "destructiveHint": true,
        "idempotentHint": false,
        "openWorldHint": true
      },
      "execution": {
        "taskSupport": "forbidden"
      }
    },
    {
      "name": "fleetdeck_key",
      "description": "Run key on the selected session. Inspect the screen to verify effects.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "sessionId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 128,
            "pattern": "^[A-Za-z0-9._:-]+$"
          },
          "requestId": {
            "$ref": "#/properties/sessionId"
          },
          "key": {
            "type": "string",
            "enum": [
              "return",
              "backspace",
              "space",
              "tab",
              "up",
              "down",
              "left",
              "right"
            ]
          }
        },
        "required": [
          "sessionId",
          "requestId",
          "key"
        ],
        "additionalProperties": false,
        "$schema": "http://json-schema.org/draft-07/schema#"
      },
      "annotations": {
        "readOnlyHint": false,
        "destructiveHint": true,
        "idempotentHint": false,
        "openWorldHint": true
      },
      "execution": {
        "taskSupport": "forbidden"
      }
    },
    {
      "name": "fleetdeck_button",
      "description": "Run button on the selected session. Inspect the screen to verify effects.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "sessionId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 128,
            "pattern": "^[A-Za-z0-9._:-]+$"
          },
          "requestId": {
            "$ref": "#/properties/sessionId"
          },
          "name": {
            "type": "string",
            "enum": [
              "home",
              "back",
              "app_switcher",
              "wake",
              "lock",
              "volume_up",
              "volume_down"
            ]
          }
        },
        "required": [
          "sessionId",
          "requestId",
          "name"
        ],
        "additionalProperties": false,
        "$schema": "http://json-schema.org/draft-07/schema#"
      },
      "annotations": {
        "readOnlyHint": false,
        "destructiveHint": true,
        "idempotentHint": false,
        "openWorldHint": true
      },
      "execution": {
        "taskSupport": "forbidden"
      }
    },
    {
      "name": "fleetdeck_open_url",
      "description": "Run open_url on the selected session. Inspect the screen to verify effects.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "sessionId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 128,
            "pattern": "^[A-Za-z0-9._:-]+$"
          },
          "requestId": {
            "$ref": "#/properties/sessionId"
          },
          "url": {
            "type": "string",
            "minLength": 1,
            "maxLength": 4096
          }
        },
        "required": [
          "sessionId",
          "requestId",
          "url"
        ],
        "additionalProperties": false,
        "$schema": "http://json-schema.org/draft-07/schema#"
      },
      "annotations": {
        "readOnlyHint": false,
        "destructiveHint": true,
        "idempotentHint": false,
        "openWorldHint": true
      },
      "execution": {
        "taskSupport": "forbidden"
      }
    },
    {
      "name": "fleetdeck_launch_app",
      "description": "Run launch_app on the selected session. Inspect the screen to verify effects.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "sessionId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 128,
            "pattern": "^[A-Za-z0-9._:-]+$"
          },
          "requestId": {
            "$ref": "#/properties/sessionId"
          },
          "bundleId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 255,
            "pattern": "^[A-Za-z0-9][A-Za-z0-9._-]*$"
          }
        },
        "required": [
          "sessionId",
          "requestId",
          "bundleId"
        ],
        "additionalProperties": false,
        "$schema": "http://json-schema.org/draft-07/schema#"
      },
      "annotations": {
        "readOnlyHint": false,
        "destructiveHint": true,
        "idempotentHint": false,
        "openWorldHint": true
      },
      "execution": {
        "taskSupport": "forbidden"
      }
    },
    {
      "name": "fleetdeck_kill_app",
      "description": "Run kill_app on the selected session. Inspect the screen to verify effects.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "sessionId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 128,
            "pattern": "^[A-Za-z0-9._:-]+$"
          },
          "requestId": {
            "$ref": "#/properties/sessionId"
          },
          "bundleId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 255,
            "pattern": "^[A-Za-z0-9][A-Za-z0-9._-]*$"
          }
        },
        "required": [
          "sessionId",
          "requestId",
          "bundleId"
        ],
        "additionalProperties": false,
        "$schema": "http://json-schema.org/draft-07/schema#"
      },
      "annotations": {
        "readOnlyHint": false,
        "destructiveHint": true,
        "idempotentHint": false,
        "openWorldHint": true
      },
      "execution": {
        "taskSupport": "forbidden"
      }
    },
    {
      "name": "fleetdeck_clipboard_get",
      "description": "Run clipboard_get on the selected session. Inspect the screen to verify effects.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "sessionId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 128,
            "pattern": "^[A-Za-z0-9._:-]+$"
          },
          "requestId": {
            "$ref": "#/properties/sessionId"
          }
        },
        "required": [
          "sessionId",
          "requestId"
        ],
        "additionalProperties": false,
        "$schema": "http://json-schema.org/draft-07/schema#"
      },
      "annotations": {
        "readOnlyHint": false,
        "destructiveHint": true,
        "idempotentHint": false,
        "openWorldHint": true
      },
      "execution": {
        "taskSupport": "forbidden"
      }
    },
    {
      "name": "fleetdeck_set_clipboard",
      "description": "Run set_clipboard on the selected session. Inspect the screen to verify effects.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "sessionId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 128,
            "pattern": "^[A-Za-z0-9._:-]+$"
          },
          "requestId": {
            "$ref": "#/properties/sessionId"
          },
          "value": {
            "type": "string",
            "maxLength": 16000
          }
        },
        "required": [
          "sessionId",
          "requestId",
          "value"
        ],
        "additionalProperties": false,
        "$schema": "http://json-schema.org/draft-07/schema#"
      },
      "annotations": {
        "readOnlyHint": false,
        "destructiveHint": true,
        "idempotentHint": false,
        "openWorldHint": true
      },
      "execution": {
        "taskSupport": "forbidden"
      }
    },
    {
      "name": "fleetdeck_push_media",
      "description": "Run push_media on the selected session. Inspect the screen to verify effects.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "sessionId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 128,
            "pattern": "^[A-Za-z0-9._:-]+$"
          },
          "requestId": {
            "$ref": "#/properties/sessionId"
          },
          "fileName": {
            "type": "string",
            "minLength": 1,
            "maxLength": 160,
            "pattern": "^[A-Za-z0-9][A-Za-z0-9._ -]*$"
          },
          "mime": {
            "type": "string",
            "enum": [
              "image/jpeg",
              "image/png",
              "video/mp4"
            ]
          },
          "dataB64": {
            "type": "string",
            "minLength": 4,
            "maxLength": 2800000,
            "pattern": "^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?$"
          }
        },
        "required": [
          "sessionId",
          "requestId",
          "fileName",
          "mime",
          "dataB64"
        ],
        "additionalProperties": false,
        "$schema": "http://json-schema.org/draft-07/schema#"
      },
      "annotations": {
        "readOnlyHint": false,
        "destructiveHint": true,
        "idempotentHint": false,
        "openWorldHint": true
      },
      "execution": {
        "taskSupport": "forbidden"
      }
    },
    {
      "name": "fleetdeck_media_chunk",
      "description": "Run media_chunk on the selected session. Inspect the screen to verify effects.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "sessionId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 128,
            "pattern": "^[A-Za-z0-9._:-]+$"
          },
          "requestId": {
            "$ref": "#/properties/sessionId"
          },
          "uploadId": {
            "type": "string",
            "format": "uuid"
          },
          "chunkIndex": {
            "type": "integer",
            "minimum": 0,
            "maximum": 199
          },
          "chunkCount": {
            "type": "integer",
            "minimum": 1,
            "maximum": 200
          },
          "totalBytes": {
            "type": "integer",
            "minimum": 1,
            "maximum": 104857600
          },
          "fileName": {
            "type": "string",
            "minLength": 1,
            "maxLength": 160,
            "pattern": "^[A-Za-z0-9][A-Za-z0-9._ -]*$"
          },
          "mime": {
            "type": "string",
            "enum": [
              "image/jpeg",
              "image/png",
              "video/mp4"
            ]
          },
          "dataB64": {
            "type": "string",
            "minLength": 4,
            "maxLength": 1400000,
            "pattern": "^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?$"
          }
        },
        "required": [
          "sessionId",
          "requestId",
          "uploadId",
          "chunkIndex",
          "chunkCount",
          "totalBytes",
          "fileName",
          "mime",
          "dataB64"
        ],
        "additionalProperties": false,
        "$schema": "http://json-schema.org/draft-07/schema#"
      },
      "annotations": {
        "readOnlyHint": false,
        "destructiveHint": true,
        "idempotentHint": false,
        "openWorldHint": true
      },
      "execution": {
        "taskSupport": "forbidden"
      }
    },
    {
      "name": "fleetdeck_native_tool",
      "description": "Call a driver-specific native tool discovered with fleetdeck_capabilities. Requires advanced permission; OS restrictions still apply.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "sessionId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 128,
            "pattern": "^[A-Za-z0-9._:-]+$"
          },
          "requestId": {
            "$ref": "#/properties/sessionId"
          },
          "name": {
            "$ref": "#/properties/sessionId"
          },
          "arguments": {
            "type": "object",
            "additionalProperties": {},
            "default": {}
          }
        },
        "required": [
          "sessionId",
          "requestId",
          "name"
        ],
        "additionalProperties": false,
        "$schema": "http://json-schema.org/draft-07/schema#"
      },
      "annotations": {
        "readOnlyHint": false,
        "destructiveHint": true,
        "idempotentHint": false,
        "openWorldHint": true
      },
      "execution": {
        "taskSupport": "forbidden"
      }
    },
    {
      "name": "fleetdeck_schedule",
      "description": "Schedule one autonomous task at an explicit ISO timestamp with timezone offset. A continuously running agent worker must claim it within 30 seconds. Use separate jobs for 09:00, 14:00 and 20:00; never guess the user's timezone.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "deviceId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 128,
            "pattern": "^[A-Za-z0-9._:-]+$"
          },
          "name": {
            "type": "string",
            "minLength": 1,
            "maxLength": 120
          },
          "prompt": {
            "type": "string",
            "minLength": 1,
            "maxLength": 16000
          },
          "scheduledAt": {
            "type": "string",
            "format": "date-time"
          },
          "timezone": {
            "type": "string",
            "minLength": 1,
            "maxLength": 100
          },
          "deadlineSeconds": {
            "type": "integer",
            "minimum": 60,
            "maximum": 3600,
            "default": 900
          }
        },
        "required": [
          "deviceId",
          "name",
          "prompt",
          "scheduledAt",
          "timezone"
        ],
        "additionalProperties": false,
        "$schema": "http://json-schema.org/draft-07/schema#"
      },
      "annotations": {
        "readOnlyHint": false,
        "destructiveHint": true,
        "idempotentHint": false,
        "openWorldHint": true
      },
      "execution": {
        "taskSupport": "forbidden"
      }
    },
    {
      "name": "fleetdeck_jobs",
      "description": "List scheduled task status and outcome summaries.",
      "inputSchema": {
        "type": "object",
        "properties": {},
        "$schema": "http://json-schema.org/draft-07/schema#"
      },
      "annotations": {
        "readOnlyHint": true,
        "destructiveHint": false,
        "idempotentHint": true,
        "openWorldHint": true
      },
      "execution": {
        "taskSupport": "forbidden"
      }
    },
    {
      "name": "fleetdeck_cancel_job",
      "description": "Cancel a queued job or request that its active worker stop.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "jobId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 128,
            "pattern": "^[A-Za-z0-9._:-]+$"
          }
        },
        "required": [
          "jobId"
        ],
        "additionalProperties": false,
        "$schema": "http://json-schema.org/draft-07/schema#"
      },
      "annotations": {
        "readOnlyHint": false,
        "destructiveHint": true,
        "idempotentHint": false,
        "openWorldHint": true
      },
      "execution": {
        "taskSupport": "forbidden"
      }
    },
    {
      "name": "fleetdeck_me",
      "description": "Check this connection: account name, key scopes, expiry and assigned device IDs.",
      "inputSchema": {
        "type": "object",
        "properties": {},
        "$schema": "http://json-schema.org/draft-07/schema#"
      },
      "annotations": {
        "readOnlyHint": true,
        "destructiveHint": false,
        "idempotentHint": true,
        "openWorldHint": true
      },
      "execution": {
        "taskSupport": "forbidden"
      }
    },
    {
      "name": "fleetdeck_sequences",
      "description": "List touch sequences saved on a device (and library sequences you own or bought) with model compatibility. Read-only.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "deviceId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 128,
            "pattern": "^[A-Za-z0-9._:-]+$"
          }
        },
        "required": [
          "deviceId"
        ],
        "additionalProperties": false,
        "$schema": "http://json-schema.org/draft-07/schema#"
      },
      "annotations": {
        "readOnlyHint": true,
        "destructiveHint": false,
        "idempotentHint": true,
        "openWorldHint": true
      },
      "execution": {
        "taskSupport": "forbidden"
      }
    },
    {
      "name": "fleetdeck_run_sequence",
      "description": "Run one saved touch sequence now through the FleetDeck touch scheduler. Requires devices:control, an online phone, an online scheduler and no open session (release yours first). Reuse requestId to read the same run instead of starting another.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "deviceId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 128,
            "pattern": "^[A-Za-z0-9._:-]+$"
          },
          "requestId": {
            "$ref": "#/properties/deviceId"
          },
          "sequenceId": {
            "$ref": "#/properties/deviceId"
          },
          "library": {
            "type": "boolean",
            "default": false
          }
        },
        "required": [
          "deviceId",
          "requestId",
          "sequenceId"
        ],
        "additionalProperties": false,
        "$schema": "http://json-schema.org/draft-07/schema#"
      },
      "annotations": {
        "readOnlyHint": false,
        "destructiveHint": true,
        "idempotentHint": false,
        "openWorldHint": true
      },
      "execution": {
        "taskSupport": "forbidden"
      }
    },
    {
      "name": "fleetdeck_touch_schedules",
      "description": "List touch schedules on a device with scheduler status.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "deviceId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 128,
            "pattern": "^[A-Za-z0-9._:-]+$"
          }
        },
        "required": [
          "deviceId"
        ],
        "additionalProperties": false,
        "$schema": "http://json-schema.org/draft-07/schema#"
      },
      "annotations": {
        "readOnlyHint": true,
        "destructiveHint": false,
        "idempotentHint": true,
        "openWorldHint": true
      },
      "execution": {
        "taskSupport": "forbidden"
      }
    },
    {
      "name": "fleetdeck_create_touch_schedule",
      "description": "Create a recurring (five-field cron) or one-time (runAt ISO with offset) touch schedule for a saved sequence. Requires jobs:write + devices:control. confirmed:true asserts the phone layout matches the sequence. Supply exactly one of cron or runAt; never guess the user's timezone.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "deviceId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 128,
            "pattern": "^[A-Za-z0-9._:-]+$"
          },
          "name": {
            "type": "string",
            "minLength": 1,
            "maxLength": 120
          },
          "sequenceId": {
            "$ref": "#/properties/deviceId"
          },
          "library": {
            "type": "boolean"
          },
          "cron": {
            "type": "string",
            "minLength": 1,
            "maxLength": 128
          },
          "runAt": {
            "type": "string",
            "format": "date-time"
          },
          "timezone": {
            "type": "string",
            "minLength": 1,
            "maxLength": 100
          },
          "confirmed": {
            "type": "boolean",
            "const": true
          },
          "failureEmail": {
            "anyOf": [
              {
                "type": "string",
                "format": "email",
                "maxLength": 254
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "required": [
          "deviceId",
          "name",
          "sequenceId",
          "timezone",
          "confirmed"
        ],
        "additionalProperties": false,
        "$schema": "http://json-schema.org/draft-07/schema#"
      },
      "annotations": {
        "readOnlyHint": false,
        "destructiveHint": true,
        "idempotentHint": false,
        "openWorldHint": true
      },
      "execution": {
        "taskSupport": "forbidden"
      }
    },
    {
      "name": "fleetdeck_update_touch_schedule",
      "description": "Pause (enabled:false), resume (enabled:true), move a one-time run (runAt + confirmed) or change the failure email of a touch schedule. Pausing needs jobs:write; resuming or moving also needs devices:control.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "deviceId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 128,
            "pattern": "^[A-Za-z0-9._:-]+$"
          },
          "scheduleId": {
            "$ref": "#/properties/deviceId"
          },
          "enabled": {
            "type": "boolean"
          },
          "runAt": {
            "type": "string",
            "format": "date-time"
          },
          "confirmed": {
            "type": "boolean",
            "const": true
          },
          "failureEmail": {
            "anyOf": [
              {
                "type": "string",
                "format": "email",
                "maxLength": 254
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "required": [
          "deviceId",
          "scheduleId"
        ],
        "additionalProperties": false,
        "$schema": "http://json-schema.org/draft-07/schema#"
      },
      "annotations": {
        "readOnlyHint": false,
        "destructiveHint": true,
        "idempotentHint": false,
        "openWorldHint": true
      },
      "execution": {
        "taskSupport": "forbidden"
      }
    },
    {
      "name": "fleetdeck_delete_touch_schedule",
      "description": "Delete a touch schedule and stop its running occurrence. Run history is kept. Requires jobs:write.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "deviceId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 128,
            "pattern": "^[A-Za-z0-9._:-]+$"
          },
          "scheduleId": {
            "$ref": "#/properties/deviceId"
          }
        },
        "required": [
          "deviceId",
          "scheduleId"
        ],
        "additionalProperties": false,
        "$schema": "http://json-schema.org/draft-07/schema#"
      },
      "annotations": {
        "readOnlyHint": false,
        "destructiveHint": true,
        "idempotentHint": false,
        "openWorldHint": true
      },
      "execution": {
        "taskSupport": "forbidden"
      }
    },
    {
      "name": "fleetdeck_touch_runs",
      "description": "List touch schedule and sequence runs, newest first, with optional scheduleId/status filters and cursor pagination (limit 1..100).",
      "inputSchema": {
        "type": "object",
        "properties": {
          "deviceId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 128,
            "pattern": "^[A-Za-z0-9._:-]+$"
          },
          "scheduleId": {
            "$ref": "#/properties/deviceId"
          },
          "status": {
            "type": "string",
            "enum": [
              "running",
              "completed",
              "failed",
              "cancelled",
              "skipped",
              "interrupted"
            ]
          },
          "cursor": {
            "$ref": "#/properties/deviceId"
          },
          "limit": {
            "type": "integer",
            "minimum": 1,
            "maximum": 100
          }
        },
        "required": [
          "deviceId"
        ],
        "additionalProperties": false,
        "$schema": "http://json-schema.org/draft-07/schema#"
      },
      "annotations": {
        "readOnlyHint": true,
        "destructiveHint": false,
        "idempotentHint": true,
        "openWorldHint": true
      },
      "execution": {
        "taskSupport": "forbidden"
      }
    }
  ]
}
