Get Spot FX Rate
get_spot_rateGet an indicative spot FX rate for a currency pair. Returns a rounded indicative mid rate, for illustration purposes only — not for execution. Example: base=GBP, quote=USD returns the GBPUSD rate.
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": {
"base": "<base>",
"quote": "<quote>"
},
"name": "get_spot_rate"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| base | Yes | Base currency ISO code, e.g. GBP | |
| quote | Yes | Quote currency ISO code, e.g. USD |