Convert markets
markets_convertConvert an amount from one currency to another — 250 GBP in JPY. Uses European Central Bank reference rates, and takes a past date back to 1999. Crypto converts at the live price through the dollar
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": {
"from": "<from>",
"to": "<to>"
},
"name": "markets_convert"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | Currency or asset to convert to, as a code: JPY, USD, ETH… | |
| date | No | Optional: the rate on a past day, as 2020-01-03. Currencies only, back to 1999 | |
| from | Yes | Currency or asset to convert from, as a code: GBP, USD, EUR, BTC… | |
| amount | No | How much to convert. Default 1 |