game_key_press
Send key presses or input actions to a running Godot game to simulate player input.
Instructions
Send a key press or input action to the running game
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| alt | No | Alt modifier | |
| key | No | Key name (e.g. "W", "Space", "Escape", "Enter") | |
| ctrl | No | Ctrl modifier | |
| meta | No | Meta/Command modifier | |
| text | No | Unicode text to inject instead of a named key/action | |
| shift | No | Shift modifier | |
| action | No | Godot input action name (e.g. "move_forward", "ui_accept") | |
| pressed | No | Press (true) or release (false). Default: true (auto-release) | |
| physical | No | Treat key as a physical key location |