get_currency_rate_last_n
Retrieves the last N exchange rates for a specified currency from Poland's NBP tables A, B, or C, helping you analyze recent historical currency trends.
Instructions
Get last N exchange rates for a currency.
Args: code: Three-letter currency code (e.g., USD, EUR, GBP) following ISO 4217 count: Number of last rates to retrieve (max 255) table: Table type - 'a' for average rates, 'b' for other currencies, 'c' for bid/ask rates (default: 'a')
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": {
"code": "<code>",
"count": "<count>"
},
"name": "get_currency_rate_last_n"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes | ||
| count | Yes | ||
| table | No | a |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |