open_script
Open a .nk script in the live Nuke session and prevent overwriting unsaved changes unless discard_changes is true.
Instructions
Open a .nk script in the live Nuke session. Refuses if the open script has unsaved changes unless discard_changes is true.
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": {
"path": "<path>"
},
"name": "open_script"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| discard_changes | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||