Set chart OHLCV data
chart_set_dataReplace the current chart with your own OHLCV bars (up to 10,000) for a specified symbol and interval.
Instructions
Replace the chart with inline, user-provided OHLCV bars (maximum 10,000).
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>",
"interval": "<interval>",
"bars": "<bars>"
},
"name": "chart_set_data"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bars | Yes | ||
| source | No | user-provided | |
| symbol | Yes | Market symbol, preferably EXCHANGE:TICKER (for example NASDAQ:AAPL). | |
| interval | Yes | Bar interval such as 1, 5, 60, 1D, 1W, or 1M. |