chart_set_session
Set a native trading session for a TradingView chart, verifying the session and symbol while refusing changes during replay.
Instructions
Set an advertised native trading session, verify exact session and resolved symbol, and refuse during replay.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| session | Yes | Exact native subsession ID from chart_get_session | |
| target_id | Yes | Exact Chrome tab target ID from browser_list_tabs. Required for changes. | |
| timeout_ms | No | ||
| expected_layout_id | Yes | Expected saved-layout ID. A mismatch stops the operation before writing. |