key_down
Hold a key down for a specified duration with automatic release, supporting overlapping key presses for simultaneous input.
Instructions
Hold a physical key (e.g. KeyA). Other keys can overlap. Automatically releases after holdMs (default 5000, max 30000). No modifier shortcuts.
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": {
"key": "<key>"
},
"name": "key_down"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | Yes | ||
| holdMs | No |