attach_script
Attach a GDScript file to a specific node in a Godot scene. Specify the scene, node, and script paths to bind the script.
Instructions
Attach a project-relative GDScript to a scene node.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| nodePath | Yes | ||
| scenePath | Yes | ||
| scriptPath | Yes | ||
| projectPath | No | Optional absolute Godot project path. Defaults to the project selected in Godot MCP Toolkit. |