Run Windows desktop actions
desktop_actionsRun batches of Windows mouse, keyboard, scroll, wait, and window-activation actions for AI desktop control. Acquires foreground control automatically and releases it after completion.
Instructions
Run a batch of Windows mouse, keyboard, scroll, wait and window-activation actions. Foreground control is acquired automatically, a visible AI-control overlay is shown for the whole batch, heartbeat is maintained, and the lease is released when complete. Pass leaseId only when intentionally joining a manually acquired foreground-control session.
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": {
"actions": "<actions>"
},
"name": "desktop_actions"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| task | No | 操作电脑 | |
| owner | No | ChatGPT | |
| ttlMs | No | ||
| actions | Yes | ||
| leaseId | No | ||
| deviceId | No | ||
| deviceName | No |