add_notebook_literal
Adds a typed literal leaf block to an .ntop notebook, supporting real, integer, bool, enum, vector, point, and file_path values plus unit-aware reals like "10mm" or "45deg".
Instructions
Add a new literal leaf block (real, integer, bool, *_enum, vector, point, file_path) to an .ntop notebook.
Supports human-friendly unit strings for real literals like "10mm", "45deg", or {"value": 10, "unit": "mm"}.
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>",
"leaf_type": "<leaf_type>",
"value": "<value>"
},
"name": "add_notebook_literal"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | ||
| units | No | ||
| value | Yes | ||
| leaf_type | Yes | ||
| overwrite | No | ||
| output_path | No | ||
| notebook_path | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |