Execute a full GUI task
computer_execute_taskDelegate a natural-language task to an autonomous GUI agent for cross-platform computer use; approve sensitive steps by re-calling with a confirmation token.
Instructions
Delegate a natural-language task to the autonomous GUI agent loop (observe → decide → locate → execute → verify → recover). mode=delegate|auto. Returns immediately with a taskId unless wait=true. Sensitive actions park in WAITING_CONFIRMATION with a confirmToken — re-call with the token to approve.
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": {
"task": "<task>"
},
"name": "computer_execute_task"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | auto | |
| task | Yes | Natural language task, e.g. 打开设置,将Wi-Fi打开 | |
| wait | No | Wait for completion instead of returning a taskId | |
| target | No | Unified device target (spec §14). Defaults to this machine with auto-detected platform. | |
| language | No | ||
| maxSteps | No | ||
| confirmToken | No |