Exchange Rate
get_forexGet a currency pair's current exchange rate, provider-routed (Capability::FOREX).
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": "get_forex"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | Quote currency code (e.g. "EUR") | |
| from | Yes | Base currency code (e.g. "USD") | |
| fields | No | Comma-separated list of GraphQL field names to include; omitted = all fields |