computer_press
Send a single key press to a remote computer using its serial number and key name (e.g., Enter or F5). Provides direct keyboard control via the Devicebase API.
Instructions
Press a single key.
Args: serialno: The computer device serialno, from list_devices. key: The key name, e.g. Enter or F5.
Returns: JSON response from the API.
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": {
"serialno": "<serialno>",
"key": "<key>"
},
"name": "computer_press"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | Yes | ||
| serialno | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |