get_trade_data
Retrieve Indonesia's international trade data for exports or imports by HS code, including value and volume statistics for specified years and periods.
Instructions
Ambil data perdagangan luar negeri (ekspor/impor) berdasarkan kode HS. Data mencakup nilai dan volume perdagangan Indonesia.
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 |
|---|---|---|---|
| source | Yes | Sumber data: '1' untuk ekspor, '2' untuk impor | |
| hs_code | Yes | Kode HS (Harmonized System). Contoh: '0901' untuk kopi | |
| hs_type | Yes | Tipe HS: '2' untuk 2-digit, '4' untuk 4-digit, '6' untuk 6-digit | |
| year | Yes | Tahun data. Contoh: '2024' | |
| period | Yes | Periode: '0' untuk tahunan, '1'-'12' untuk bulanan |