chart_get_state
Reads the selected chart to return its current saved layout ID and all registered study IDs. Use it to confirm chart state or validate a layout ID before making changes.
Instructions
Read the selected chart, saved layout ID and all registered study IDs.
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": "chart_get_state"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| target_id | No | Exact Chrome tab target ID from browser_list_tabs. Required for changes. | |
| expected_layout_id | No | Expected saved-layout ID. A mismatch stops the operation before writing. |