hold_key
Press and hold a key or chord on the virtual desktop for a specified duration to simulate sustained keyboard input.
Instructions
Hold a key (or chord) down for a 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": {
"text": "<text>",
"duration": "<duration>"
},
"name": "hold_key"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | ||
| duration | Yes | Seconds to hold (may be up to ~100s). |