Of the 2 Clipboard methods, browser sessions serve 0, phone sessions 0 and computer sessions 2. A method marked not served answers StrategyUnavailable on that kind of session; check the handshake’s capabilities before relying on one.

Clipboard.readText

Browser: not served Phone: not served Computer: served The clipboard’s text; empty when it holds none. Computer sessions only.
{"id": 1, "method": "Clipboard.readText", "params": {}}
ParamTypeRequiredDescription
idempotencyKeystringNoMakes a re-send after a reconnect safe: a repeated key returns the recorded response without acting again. See Idempotency keys.
Result
FieldTypeDescription
textstring

Clipboard.writeText

Browser: not served Phone: not served Computer: served Replace the clipboard’s text. Computer sessions only.
{"id": 1, "method": "Clipboard.writeText", "params": {"text": "hello"}}
ParamTypeRequiredDescription
textstringYes
idempotencyKeystringNoMakes a re-send after a reconnect safe: a repeated key returns the recorded response without acting again. See Idempotency keys.
Result: an empty object {}.