get_trade_data
Retrieve Indonesia's export and import trade data by HS code, including value and volume for annual or monthly periods.
Instructions
Retrieve foreign trade data (exports/imports) by HS code. Data includes value and volume of Indonesia's trade.
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": {
"source": "<source>",
"hs_code": "<hs_code>",
"hs_type": "<hs_type>",
"year": "<year>",
"period": "<period>"
},
"name": "get_trade_data"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| year | Yes | Data year. Example: '2024' | |
| period | Yes | Period: '0' for annual, '1'-'12' for monthly | |
| source | Yes | Data source: '1' for export, '2' for import | |
| hs_code | Yes | HS code (Harmonized System). Example: '0901' for coffee | |
| hs_type | Yes | HS type: '2' for 2-digit, '4' for 4-digit, '6' for 6-digit |