Get a calculator
calculator_getOne calculator: what it measures (cem-ui registry/tools.json), its inputs with their defaults, and its formula as the calculator's own code computes it (templates/tool-calcs/{slug}.blade.php: the recalc function, the helpers it calls and its constants), and the citation it gives. Or one self-check (registry/checks.json): its questions, answers, rule and result words from its playbook; with answers, the result it names. Ask the questions in the person's words of the moment, but give the result in the check's own words, and never as a score.
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": {
"slug": "<slug>"
},
"name": "calculator_get"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| slug | Yes | e.g. "drift-tax", "build-compression", "ground-check" | |
| answers | No | Self-checks only: { item id: answer } for ground-check; the marked item ids (or { id: true }) for governance-maturity and working-or-broken |