Search trade flows
search_trade_flowsUse this when the user asks how much of a critical mineral, rare-earth oxide, battery material or metal scrap is being imported or exported, or how trade volumes are trending month to month. Returns US monthly import or export values (UN Comtrade) for one tracked commodity. Free tier returns the trailing three months; Pro returns the full series. Do not use for spot or futures prices.
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": {
"commodity": "<commodity>"
},
"name": "search_trade_flows"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| flow | No | Defaults to Import. | |
| commodity | Yes | Commodity name, partial name, or HS6 code (e.g. 'lithium', 'NdPr', '283691'). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| plan | Yes | Plan the answer was served on: free, pro or admin. | |
| text | Yes | The full answer as readable text. | |
| tool | Yes | Name of the tool that produced this answer. | |
| title | Yes | Display name of the tool. | |
| source | Yes | Data provenance and the not-investment-advice notice. | |
| website | Yes | Where to read more or upgrade. | |
| daily_limit | No | Daily call limit for this plan; omitted when there is none. | |
| calls_remaining_today | No | Calls left today on this plan; omitted when the plan has no daily cap. |