chart_zoom
Zoom a TradingView chart one step in or out, or to a bounded number of loaded bars, then verify the actual visible range or requested bar endpoints.
Instructions
Zoom one native step in/out or to a bounded count of loaded bars, then verify actual range movement or requested bar endpoints.
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": {
"target_id": "<target_id>",
"expected_layout_id": "<expected_layout_id>"
},
"name": "chart_zoom"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bars | No | ||
| direction | No | ||
| target_id | Yes | Exact Chrome tab target ID from browser_list_tabs. Required for changes. | |
| timeout_ms | No | ||
| right_index | No | ||
| tolerance_bars | No | ||
| expected_layout_id | Yes | Expected saved-layout ID. A mismatch stops the operation before writing. |