trigger_hotkey_by_key_sequence
Trigger OBS hotkeys by simulating key presses with optional modifiers. Specify the OBS key ID and shift, control, alt, or command to execute the shortcut.
Instructions
Trigger a hotkey by simulating a key press + modifiers.
Args: key_id: OBS key ID (see obs-studio's obs-hotkeys.h for the list). shift/control/alt/command: Modifier keys to hold.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "trigger_hotkey_by_key_sequence"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| alt | No | ||
| shift | No | ||
| key_id | No | ||
| command | No | ||
| control | No |