desktop_clear
Empties a text field identified by reference ID in macOS apps via the accessibility tree, letting agents reset input values without screenshots.
Instructions
Empty a field.
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": {
"ref_id": "<ref_id>"
},
"name": "desktop_clear"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| headed | No | ||
| ref_id | Yes | ||
| timeout_ms | No |