promote_to_input
Convert an existing notebook variable into a Notebook Input so parameter values can be passed via ntopcl -j or parameter sweeps without breaking downstream wiring.
Instructions
Promote an existing notebook variable (core.var<...>) into a Notebook Input (def.inputs).
Enables passing parameter values via ntopcl -j and run_parameter_sweep without breaking downstream wiring.
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": {
"notebook_path": "<notebook_path>",
"target": "<target>"
},
"name": "promote_to_input"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| target | Yes | ||
| overwrite | No | ||
| input_name | No | ||
| description | No | ||
| output_path | No | ||
| notebook_path | Yes | ||
| auto_reload_gui | No | ||
| force_if_unsaved | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |