FleetDeckDocs

Action payload · devices:advanced

clipboard_get

Read plaintext pasteboard using a supported native bridge; built-in WDA returns {value:string}. Clipboard contents can be sensitive. Relay and built-in ADB do not implement this command.

Payload

json
{
  "type": "clipboard_get"
}

Payload fields

typestringrequired

Discriminator that selects the action or content shape.

Allowed:"clipboard_get"

Unknown fields are rejected.

View JSON Schema
json
{
  "type": "object",
  "properties": {
    "type": {
      "type": "string",
      "enum": [
        "clipboard_get"
      ],
      "description": "Discriminator that selects the action or content shape."
    }
  },
  "required": [
    "type"
  ],
  "additionalProperties": false,
  "description": "Read plaintext pasteboard using a supported native bridge; built-in WDA returns {value:string}. Clipboard contents can be sensitive. Relay and built-in ADB do not implement this command.",
  "example": {
    "type": "clipboard_get"
  }
}

REST wraps this payload inside {requestId, command}. The matching MCP tool takes sessionId and requestId plus these fields, without the type discriminator.

Contract

Submit this as command to POST /sessions/{sessionId}/actions, pass it as the CLI action JSON, or use the matching MCP convenience tool. Command objects are strict and reject unknown fields.

Execution

Read plaintext pasteboard using a supported native bridge; built-in WDA returns {value:string}. Clipboard contents can be sensitive. Relay and built-in ADB do not implement this command.

Action status and driver result remain separate. A completed result can still require a fresh screenshot or hierarchy check to prove the intended visible effect.