disconnect_signal
Removes a signal connection between two Godot nodes and persists the change. Use get_node_signals to verify the connection before using this tool.
Instructions
Remove an existing signal connection between two nodes, persisting the change in the .tscn. Use get_node_signals first to confirm the connection exists; recovery requires reconnecting via connect_signal. Saves automatically. Returns a plain-text confirmation naming the disconnected signal and target. Errors if the connection does not exist.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| method | Yes | Method name on the target node | |
| signal | Yes | Signal name on the source node | |
| nodePath | Yes | Source node path from scene root | |
| scenePath | Yes | Scene file path relative to the project | |
| projectPath | Yes | Path to the Godot project directory | |
| targetNodePath | Yes | Target node path from scene root |