attach_script
Attach an existing script to a node in the current scene using the node path and script path.
Instructions
Attach an existing script to a node in the current scene.
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": {
"node_path": "<node_path>",
"script_path": "<script_path>"
},
"name": "attach_script"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| node_path | Yes | Node path to attach the script to | |
| script_path | Yes | res:// path to the script file |