Find field paths
find_pathsFinds where something is in a message: the exact set paths (for generate's set) of the fields, CHOICE alternatives and named values that match a word, e.g. find_paths(CPM, "pedestrian") or find_paths(DENM, "roadworks"). Each line: path, type, and its values (range, unit, names, alternatives). It covers every CHOICE alternative (a FULL sample shows only one). Use it before generate whenever you are not sure of a path, instead of reading types with get_element.
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": {
"ref": "<ref>",
"query": "<query>"
},
"name": "find_paths"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ref | Yes | The message type (CAM, DENM, MAPEM/MAP, SPATEM/SPAT, CPM, IVIM, VAM...) = its default version, a message for a specific version (_Cam_v2) or an element (_cam_v2:CAM) | |
| query | Yes | What to look for: a word or two (field name, value or alternative), e.g. "pedestrian"; several searches at once separated by commas, one per thing to set: "latitude, speed, station type" |