game_connect_signal
Link a signal from one node to a method on another in the running Godot game, so events trigger the right responses.
Instructions
Connect a signal from one node to a method on another 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": {
"nodePath": "<nodePath>",
"signalName": "<signalName>",
"targetPath": "<targetPath>",
"method": "<method>"
},
"name": "game_connect_signal"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| method | Yes | Method name to call on the target node | |
| nodePath | Yes | Path to the source node that emits the signal | |
| signalName | Yes | Name of the signal to connect | |
| targetPath | Yes | Path to the target node that receives the signal |