tv_get_chart_state
Retrieve the active chart's symbol, resolution, chart type, study count, and layout details. Use this read-only tool to inspect the current chart configuration.
Instructions
Read the active chart: symbol, extended symbol info, resolution, chart type, study count, saved layout name and layout id. Read-only.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| layout | No | chart layout id, target id, or 0-based index; default = the chart tab that is actually painting | |
| expect_layout | No | layout id the tab is expected to show right now; the call refuses if it differs (a tab keeps its target id when the user opens another layout in it) |