Explain a Valem value
explain_valueExplain how a value in a Valem card was computed: the formula, the values it read and the inputs it ultimately comes from, as Valem's engine has them for the given inputs. Use it when the user asks why a number is what it is. Pass the specHash and current inputs from the latest render_model result or card update.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | The field to explain, as a canonical path, e.g. "$.total" or "$.items[0].lineTotal". | |
| spec | No | The spec, only needed when the server answers spec_unknown. | |
| inputs | No | The card's current inputs keyed by canonical path; omit for the defaults. | |
| specHash | No | The specHash from the render_model result. |