assert_node_state
Verify that a running game node's properties match expected values to catch state mismatches during Godot testing.
Instructions
Assert that a node's properties match expected values in the running game.
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": {
"node_path": "<node_path>",
"assertions": "<assertions>"
},
"name": "assert_node_state"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| node_path | Yes | Node path in the running game | |
| assertions | Yes | Property→expected-value pairs to assert |