tab_close
Close the active TradingView chart tab, optionally verifying its title matches an expected value first. Refuses action when no tab is active.
Instructions
Close the currently active chart tab. Names the tab it is about to close and refuses when no tab is marked active. Closing a chart tab cannot be undone through this API, so pass expect_title when it matters which one goes.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| expect_title | No | The active tab title must contain this, otherwise nothing is closed. Use tab_list first to see the titles. |