computer_press_key
Press a specified key on your Mac's keyboard to simulate keystrokes for automation and control.
Instructions
Press a single key.
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_press_key"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | Yes | The key to press (e.g., 'enter', 'tab', 'escape', 'a', 'b', etc.) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||