chart_set_visible_range
Set a TradingView chart's visible time range using Unix seconds and verify it against a tolerance; mismatch of target or layout ID stops changes.
Instructions
Set visible Unix-second time range and verify within the stated tolerance.
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": {
"from": "<from>",
"to": "<to>",
"target_id": "<target_id>",
"expected_layout_id": "<expected_layout_id>"
},
"name": "chart_set_visible_range"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | Unix seconds | |
| from | Yes | Unix seconds | |
| target_id | Yes | Exact Chrome tab target ID from browser_list_tabs. Required for changes. | |
| tolerance_seconds | No | ||
| expected_layout_id | Yes | Expected saved-layout ID. A mismatch stops the operation before writing. |