Execute one action
computer_actionExecute a unified GUI action such as click, type, scroll, or drag on an element or point to automate interactions across platforms.
Instructions
Execute a single unified action (spec §17): click/double_click/right_click/long_press/move/drag/swipe/scroll/type/set_value/clear/press/hotkey/select/toggle/invoke/launch_app/terminate_app/focus/back/home/wait. Provide element (from computer_locate) or point. Records to the active recorder if recording.
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": {
"action": "<action>"
},
"name": "computer_action"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes | Unified action | |
| target | No | Unified device target (spec §14). Defaults to this machine with auto-detected platform. | |
| confirmToken | No | Confirmation token from a WAITING_CONFIRMATION result |