汇率查询
exchange_rate查询主要货币兑基准货币的实时汇率,返回主流币种汇率。Example: {"base":"USD"}
Example tool call
This call uses example arguments supplied in the tool’s input schema.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"base": "USD"
},
"name": "exchange_rate"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| base | No | 基准货币代码,默认 USD,如 USD、CNY、EUR |