Diagnose a UPER payload
diagnoseBit-level breakdown of a UPER payload: for every field, which bits encode it, the raw bits and the decoded value, plus the structural bits (extension markers, OPTIONAL presence bits, CHOICE indexes, length determinants). Use it to debug interoperability: a malformed or truncated payload still returns everything decoded up to the failure, the field being read and the bit where it broke. Returns JSON {message, ref, autoDetected, table}. Optional filter keeps only rows whose path contains it.
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": {
"payload": "<payload>"
},
"name": "diagnose"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ref | No | The message: its type (CAM, DENM, CPM, MAPEM/MAP, SPATEM/SPAT, IVIM, SREM, SSEM, VAM) = its default version, or a message for a specific version (_Cam_v2, see list_message_versions). Optional: omitted, the payload's V2X header says which | |
| compat | No | Optional: 'asn1c' = encode/decode like asn1c-based stacks (Vanetza), which depart from X.691 in a few constraints (e.g. CPM container list, PathPredicted); 'standard' = X.691 (ObjSys, asn1tools). Default: standard | |
| filter | No | Optional: only rows whose field path contains this text | |
| payload | Yes | The UPER payload as hex (spaces, 0x and a 'uper:' prefix are ignored) |