connect_signal
Connect a signal from a source node to a method on a target node in Godot to enable event-driven responses.
Instructions
Connect a signal to a method.
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": "<signal>",
"target_path": "<target_path>",
"method": "<method>"
},
"name": "connect_signal"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| method | Yes | ||
| signal | Yes | ||
| source_path | Yes | ||
| target_path | Yes |