desktop_key
Sends keyboard shortcuts such as ctrl+c, alt+tab, or enter to the currently focused window. Use it to trigger hotkeys, paste clipboard content, or switch tasks during desktop automation.
Instructions
发送组合键,如 ctrl+c / ctrl+v / alt+tab / enter / tab / f5。会作用于当前焦点窗口。
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": {
"combo": "<combo>"
},
"name": "desktop_key"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| combo | Yes | 例:ctrl+c、alt+tab、enter | |
| verify | No | ||
| verifyRegion | No | 只比对这块矩形(传目标窗口的 rect),不传则全屏 |