pt_set_clipboard
Set iOS simulator clipboard text to prepare strings for pasting into fields. Enables clipboard-based input for UI test automation.
Instructions
Set the simulator's clipboard/pasteboard content. Useful for preparing text to paste into fields.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"text": "<text>"
},
"name": "pt_set_clipboard"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | The text to copy to the clipboard | |
| udid | No | Simulator UDID (uses active device if not specified) |