set_literal_value
Set the value of a literal block in an nTop notebook, replacing scalars, file paths, vectors, points, booleans, or enums. Writes in place unless an output path is specified.
Instructions
Set the value of a literal block - a scalar, file path, vector, point, boolean or enum. Writes in place unless output is given.
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>",
"value": "<value>"
},
"name": "set_literal_value"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| value | Yes | Replacement value, in the same shape the notebook already stores | |
| output | No | ||
| blockId | Yes | ||
| notebook | Yes |