wait_for_game_event
Wait for a signal, node creation, or property change event in Godot with a configurable timeout to prevent hanging.
Instructions
Wait for a specific game event (signal, node creation, property change) with timeout
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": {
"event": "<event>"
},
"name": "wait_for_game_event"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| event | Yes | Event to wait for. Use prefix format: 'signal:NodePath:SignalName', 'node:NodePath', or 'property:NodePath:PropName:ExpectedValue' | |
| timeout | No | Timeout in milliseconds (default: 5000) |