hotkey
Simulate keyboard shortcuts in Affinity to execute commands like creating new documents, supporting automated app interaction without manual input.
Instructions
Press a key combination, e.g. ["command", "n"] for a new document.
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>"
},
"name": "hotkey"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| keys | Yes | ||
| screenshot_after | No |