Computer Hold Key
computer_hold_keyHold a single keyboard key for a set duration before releasing, useful for modifier-assisted actions such as Shift-click range selection.
Instructions
Hold a key for duration seconds then release (e.g. Shift for click-select ranges). One chord only — no '+' combos.
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": "computer_hold_key"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | Yes | ||
| duration | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |