press_key
Send a single keyboard key event to Affinity to trigger shortcuts, navigate dialogs, or move focus. Supports keys like enter, esc, tab, arrows, and backspace.
Instructions
Press one key, e.g. enter, esc, tab, up, down, backspace.
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": "press_key"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | Yes | ||
| screenshot_after | No |