Set closing rate
set_closing_rateKeep the rate a foreign currency's balances are valued at on a day, as the owner or their accountant gives it: in base currency per ONE foreign unit. It replaces any rate on that day and is used by every revaluation at that day. Never quote a rate from memory.
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": {
"date": "<date>",
"currency": "<currency>",
"rate": "<rate>"
},
"name": "set_closing_rate"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| date | Yes | The day, yyyy-MM-dd: usually a month end. | |
| rate | Yes | Base currency per ONE unit of the foreign currency, e.g. 19.1534 rand per euro. | |
| currency | Yes | The foreign currency, e.g. EUR. |