call_game_node_method
Invokes a method on a specified node in a running Godot game, passing arguments to trigger in-game behavior from Claude Code.
Instructions
Call a method on a node 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>",
"method": "<method>"
},
"name": "call_game_node_method"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| args | No | Arguments to pass to the method | |
| method | Yes | Method name to call | |
| node_path | Yes | Node path in the running game |