run_notebook
Run nTop notebooks headlessly with nTop Automate, capturing errors, warnings, and block timings. Specify inputs and output paths to execute automation workflows.
Instructions
Execute a notebook headlessly through nTop Automate (ntopcl) and return its errors, warnings and per-block timings. Requires an nTop Automate licence.
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": "<notebook>"
},
"name": "run_notebook"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| save | No | Write results back into the notebook (ntopcl -s). Rewrites the file. | |
| notebook | Yes | ||
| timeoutMs | No | ||
| inputsJson | No | JSON file of notebook input variables (ntopcl -j) | |
| outputJson | No | Where to write the output variable (ntopcl -o) |