get_transport_mode
How an item arrives or leaves by method of transport, month by month: the value, the share of the total, the shipping weight and the value per kilogram of each mode (vessel, air, other), the change of the share against the same month a year earlier in percentage points, and containerized vessel shipments shown as part of vessel (part_of, not added again). The three shares of vessel, air and other add up to 1. Only reporters that publish transport-mode figures have it (see get_catalog, "measures" and "breakdowns"); other reporters get the error measure_unavailable. The shipping weight is the source's weight of the mode, not the item quantity. A null figure has a reason; it is not zero. Use it for how the mix of vessel, air and other transport changed.
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": {
"reporter": "<reporter>",
"flow": "<flow>",
"code": "<code>"
},
"name": "get_transport_mode"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | Optional last month, YYYY-MM (or YYYY). Default: the latest published month. | |
| code | Yes | Required. HS or national code; dots are ignored. | |
| flow | Yes | Required. "import" (goods entering the reporting country) or "export" (goods leaving it); there is no combined view: "both" does not exist. For a comparison across countries use compare_countries, for exports minus imports use get_balance. | |
| from | No | Optional first month, YYYY-MM (or YYYY). | |
| limit | No | Optional. Newest months shown (default 12). | |
| country | No | Optional partner country (ISO alpha-2 code or name); omit for the world total. | |
| reporter | Yes | Required. The reporting country whose customs statistics are read: "JP" (Japan), "US" (United States), "GB" (United Kingdom) or "EU" (European Union (27 member states)). Partners are the other countries. |