最新成交价
market_priceRetrieves the latest trading price for a specified symbol, returning the current price to support quick market checks and trading decisions.
Instructions
获取交易对最新成交价。返回 symbol 与 price(number 类型)。
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": {
"symbol": "<symbol>"
},
"name": "market_price"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| symbol | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| price | Yes | ||
| symbol | Yes |