stl_rt_decode
Decode a stored GTFS-Realtime snapshot into normalized JSON, preserving unknown fields under '_unknown' to avoid silent data loss.
Instructions
Decode a stored GTFS-Realtime snapshot into normalized JSON.
Fields present in the bytes but absent from the schema map are preserved under '_unknown' rather than dropped, because silently discarding fields is how you ship a decoder that is wrong in ways nobody notices.
Args: entity: 'trip_updates', 'vehicle_positions', or 'alerts'.
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": "stl_rt_decode"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| entity | No | trip_updates | |
| snapshot | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |