Exchange rates (CBSL)
exchange_ratesThe Central Bank of Sri Lanka's daily indicative exchange rates, in LKR per unit of foreign currency. Optionally converts an amount. Banks' own buying and selling rates differ from these.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "exchange_rates"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| amount | No | Amount to convert | |
| direction | No | to-lkr: amount is in the foreign currency; from-lkr: amount is in LKR | to-lkr |
| currencies | No | ISO codes, e.g. ['USD','GBP']. Leave out for all. |