Resolve Freight Reference
resolve_referenceResolve an arbitrary freight identifier — one opaque string in, typed and cited candidates out. Use when you hold one identifier-ish token ("176", "UN1845", "NLRTM", "FOB", "22G1", "MSKU1100810", "D/E", "TU9") and do not know what kind of identifier it is: each candidate names its entity type and carries the api_url and canonical_url of its full record. q is ONE identifier (max 32 chars), or an fu: identifier (fu_id or fu_version_id, up to 200 chars), which resolves to exactly its one record or to none. Colliding grammars return several ranked candidates, never a silent guess; zero candidates is a valid result. Single-token resolution, not free-text extraction — pass one identifier, not a manifest line. The lookups it resolves into: adr_lookup, airline_lookup, airport_lookup, unlocode_lookup, hs_code_lookup, incoterms_lookup, container_lookup, uld_lookup, validate. Rate-limited: a limit error carries reset_at, the UTC time the allowance resets.
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": {
"q": "<q>"
},
"name": "resolve_reference"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| q | Yes | One freight identifier, or an fu: identifier from an answer (e.g. "fu:adr:un:1203:II:F1@2025"). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | ||
| as_of | Yes | ||
| result | Yes | ||
| status | Yes | ||
| _source | Yes | ||
| edition | Yes | ||
| citation | Yes | ||
| warnings | No | ||
| confidence | Yes | ||
| missing_inputs | Yes | ||
| blocking_errors | No | ||
| envelope_version | Yes |