assert_node_state
Verify a node property in the running Godot game matches an expected value using operators (eq, neq, gt, lt, contains, type_is) to validate state.
Instructions
Assert a property of a node in the running game against an expected value using the given operator
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>",
"property": "<property>"
},
"name": "assert_node_state"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| expected | No | ||
| operator | No | eq | |
| property | Yes | ||
| node_path | Yes |