set_output
Designate which block's value becomes the notebook output before running it; pass -1 to clear.
Instructions
Choose which block ntopcl reports as the notebook output. Required before run_notebook's outputJson will produce anything - nTop reads the graph's own output key, not the root group's inputs, and answers "can't find output in notebook" when it is unset. Pass -1 to clear.
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>",
"blockId": "<blockId>"
},
"name": "set_output"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| output | No | ||
| blockId | Yes | Block whose value becomes the notebook output, or -1 to clear | |
| notebook | Yes |