convert_currency
Convert any amount between currencies with live reference rates. Get quick spending context before diving into trip planning.
Instructions
FREE live reference-rate currency conversion from the ForgeMesh travel-agent backend. Use when a traveler or agent needs quick spending context before deciding whether to ask for richer x402 trip guidance. Read-only, no account setup, no payment, and not a transaction quote.
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": "convert_currency"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | Target ISO 4217 currency code, such as EUR. | |
| date | No | Optional reference date in YYYY-MM-DD format when supported by the backend. | |
| from | Yes | Source ISO 4217 currency code, such as USD. | |
| amount | No | Amount to convert. Default: 1. |