desktop_toggle
Toggle a checkbox or switch in a desktop interface by supplying its snapshot reference, enabling agents to change UI state and verify the resulting condition.
Instructions
agent-desktop toggle: Toggle a checkbox or switch
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_toggle"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ref_id | Yes | Qualified ref from snapshot (@<snapshot_id>:eN) | |
| timeout_ms | No | Maximum ref-resolution and transient-actionability wait in milliseconds; terminal failures return immediately |