disconnect_signal
Remove an existing signal connection between two nodes and persist the change in the scene file. Confirms the disconnected signal and target.
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 |