Get diagnosis
get_diagnosisReturn the full DERATE demo diagnosis for a truck: verdict (STOP/CAUTION/CLEAR), derate countdown, every fault code and the work order summary.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "get_diagnosis"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lang | No | Language of the diagnosis text: 'es' (Spanish) or 'en' (English). | es |