computer_hold_key
Simulate holding down a keyboard key or key combination for a specified duration up to 30 seconds to perform continuous input actions.
Instructions
Hold down a key for a specified duration in seconds.
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": {
"keys": "<keys>",
"duration": "<duration>"
},
"name": "computer_hold_key"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| keys | Yes | Key or key combination to hold | |
| duration | Yes | Duration in seconds (max 30) |