detach_script
Detach a script from a Godot node at runtime to reset or change its logic, enabling dynamic scene manipulation and streamlined automated testing.
Instructions
Detach a script from a node.
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>"
},
"name": "detach_script"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| node_path | Yes |