game_call_method
Invoke a method on any node in a running Godot game with optional arguments to trigger runtime behavior or inspect game state.
Instructions
Call a method on any node in the running game with optional arguments
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": {
"nodePath": "<nodePath>",
"method": "<method>"
},
"name": "game_call_method"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| args | No | Optional array of arguments to pass to the method | |
| method | Yes | Method name to call | |
| nodePath | Yes | Path to the node |