trade_partners
Retrieve top trade partners for a specified country and year, with options to filter by import or export flow.
Instructions
Get top trade partners for a country.
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": {
"country": "<country>",
"year": "<year>"
},
"name": "trade_partners"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| flow | No | M=imports, X=exports | X |
| year | Yes | Year | |
| country | Yes | Country ISO 3-letter code |