connect_signal
Connect a Godot node signal to a method on a target node, persisting the connection into the scene file.
Instructions
Connect a node signal to a method on a target node, persisted into the scene file
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 | ||
| signal_name | Yes | ||
| source_path | Yes | ||
| target_path | Yes |