Add custom chart series
chart_add_seriesAdd or replace time-aligned line or histogram series on price, CVD, or oscillator panes for overlays, expected paths, and option-flow data.
Instructions
Add or replace a time-aligned line or histogram series. Price overlays, CVD panes, expected paths, max-pain history, and option-flow series are supported.
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": {
"kind": "<kind>",
"label": "<label>",
"data": "<data>"
},
"name": "chart_add_series"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | ||
| data | Yes | ||
| kind | Yes | ||
| pane | No | price | |
| color | No | #38bdf8 | |
| label | Yes | ||
| lineStyle | No | solid | |
| lineWidth | No |