signal_connect
Connect a signal emitted by a source node to a method on a target node in a Godot scene. Specify scene, source and target node paths, and method name.
Instructions
Connect a signal from one node to a method on another node.
Category: Signal
Args: project_path: Path to the Godot project directory scene_path: Path to the scene file (relative to project) source_node_path: Path to the source node that emits the signal (e.g., "root/Button") signal_name: Name of the signal to connect (e.g., "pressed") target_node_path: Path to the target node that receives the signal (e.g., "root/Handler") method_name: Name of the method to call on the target node (e.g., "_on_button_pressed")
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": {
"project_path": "<project_path>",
"scene_path": "<scene_path>",
"source_node_path": "<source_node_path>",
"signal_name": "<signal_name>",
"target_node_path": "<target_node_path>",
"method_name": "<method_name>"
},
"name": "signal_connect"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project_path | Yes | ||
| scene_path | Yes | ||
| source_node_path | Yes | ||
| signal_name | Yes | ||
| target_node_path | Yes | ||
| method_name | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |