trade_balance
Calculate trade balance between two countries by subtracting imports from exports for a given year.
Instructions
Calculate trade balance between two countries — exports minus imports.
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>",
"partner": "<partner>",
"year": "<year>"
},
"name": "trade_balance"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| year | Yes | Year | |
| country | Yes | Country ISO 3-letter code | |
| partner | Yes | Partner country code |