Real-time currency exchange rate
exchange_rateLive currency exchange rates and amount conversion. Base/target currency codes or Chinese names; leave target empty for a basket of common currencies. Source: Frankfurter (ECB reference rates), updated daily. Free, no API key required. |查询实时汇率并换算金额。数据来自欧洲央行参考汇率,每日更新。免费无需 Key。
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "exchange_rate"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| base | No | Base currency, default USD | 基准货币 | |
| amount | No | Amount to convert, optional | 换算金额 | |
| target | No | Target currency, empty = common basket | 目标货币 |