send_input
Send a single Godot InputMap action to a running project for one-off input events. Confirms delivery only; for multi-step tests, use send_key_sequence.
Instructions
Send a single Godot InputMap action (e.g., 'move_up', 'jump') to a running interactive project. Returns delivery confirmation only, not the effect — for multi-step testing prefer send_key_sequence with {"action": ...} items, which batches inputs, waits, and state/screenshot checkpoints into one round-trip (no shell sleeps needed). Requires run_interactive.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes | The input action name (e.g., "move_up", "move_left", "restart") | |
| pressed | No | Whether the action is pressed (true) or released (false). Default: true. For simple actions, just send pressed=true — the game handles it as a single press. |