set_formula
Change a calculated node's or a check's formula, or a table's column: a stored column given a formula keeps every value it holds as that entry's own and works out the entries that hold none. A column of words takes a formula answering a word — COALESCE(t.amount_currency, t.legs_currency, "sgd"), IF(t.amount > 0, "in", "out") — and its list is extended to every word the formula can give. The current formula is recorded as what the op replaces. For an input or a constant, use set_kind to make it calculated first.
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": {
"model": "<model>",
"name": "<name>",
"formula": "<formula>"
},
"name": "set_formula"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| model | Yes | Model uid (`model_…`), from model_list. | |
| agreed | No | Only to stop a check testing periods it fails in: the analyst's own words asking for it, quoted from their message. Never your own. | |
| formula | Yes |