clipboard
Read the phone's clipboard to retrieve text, or replace it with your own text. Use it to move text between the phone and this conversation, and to set non-ASCII text for pasting.
Instructions
Read or replace the phone's clipboard.
Useful for moving text between the phone and this conversation, and for putting non-ASCII text where a paste will pick it up, since adb can only type ASCII as keystrokes.
Args: action: "get" to read the clipboard, "set" to replace it. text: The text to place on the clipboard when setting.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "clipboard"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | No | The text to type, or the text to replace the clipboard with. | |
| action | No | What to do: 'get' to read the clipboard, 'set' to replace it. | get |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |