Get an exchange rate
get_fx_rateUse this to convert from another currency into the group currency, optionally on a past date.
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": {
"groupToken": "<groupToken>",
"from": "<from>"
},
"name": "get_fx_rate"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| date | No | Day the rate is for, usually the expense's date. Defaults to today. Today and later dates get the latest published rate. | |
| from | Yes | Source currency (ISO-4217). | |
| groupToken | Yes | The group's token, from `listGroups` or `listSearchResults`. |