Candles
get_candlesPrice candles (open, high, low, close, volume) for one market. Ask: "How did ETH move over the last day?"
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": "get_candles"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | number of candles, 1-500 (default 24) | |
| price | No | mark price (default) or last traded price | |
| symbol | No | market symbol as get_markets lists it, e.g. BTC, ETH or ETHUSDT | |
| pair_id | No | or the market's pair id, e.g. 1 | |
| resolution | No | candle length (default 1h) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| count | No | ||
| market | No | ||
| candles | No | ||
| network | Yes | testnet or mainnet | |
| pair_id | No | ||
| summary | Yes | one plain sentence | |
| resolution | No |