set_distribution
Declare what an input or constant might have been — its uncertainty, drawn in a simulation — or clear it with null. Inputs and constants only: a calculated node's uncertainty is derived by running the model. Clearing also drops any correlation the node was in. Right for a one-off assumption — a tax rate, a multiple, an opening balance. For an input that varies by period — a price, a rate, a volume — a distribution says nothing about whether being wrong this period means being wrong the next, which is the biggest lever on anything cumulative: use process_build (or process_fit where the model holds the history) to give it a memory, rather than writing shock rows of your own. spreadUncertainty says how sure the spread itself is — a lognormal sigma on its width, drawn once per trial through a companion constant (0.3: one trial in six has it over 1.35× as wide); null takes it away. A distribution restated without it keeps the one it had.
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>",
"distribution": "<distribution>"
},
"name": "set_distribution"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| model | Yes | Model uid (`model_…`), from model_list. | |
| distribution | Yes | ||
| spreadUncertainty | No |