connect_signal
Links a signal from a source node to a method on a target node, enabling automated event wiring in Godot scenes.
Instructions
Connect a signal from one node to a method on another node.
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": {
"source_path": "<source_path>",
"signal_name": "<signal_name>",
"target_path": "<target_path>",
"method_name": "<method_name>"
},
"name": "connect_signal"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| method_name | Yes | Method to call on the target node | |
| signal_name | Yes | Name of the signal | |
| source_path | Yes | Path of the node emitting the signal | |
| target_path | Yes | Path of the node receiving the signal |