generate_templates
Generate official input_template.json and output_template.json by running ntopcl -t on an .ntop notebook, optionally saving them to a directory, to prepare notebooks for parameter sweeps.
Instructions
Run ntopcl -t to generate and return official input_template.json and output_template.json.
Args: notebook_path: Path to the .ntop notebook. output_dir: Optional directory to persist the generated JSON templates (uses a temp dir if omitted). timeout_seconds: Optional timeout override in seconds.
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>"
},
"name": "generate_templates"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| output_dir | No | ||
| notebook_path | Yes | ||
| timeout_seconds | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |