set_symbol
Change the symbol displayed on a TradingView chart, optionally targeting a specific pane in multi-chart layouts. Failed changes roll back to the previous symbol.
Instructions
Change one TradingView chart to a different symbol, e.g. 'BTCUSD', 'OANDA:EURUSD', 'NASDAQ:AAPL'. chart_index selects a pane in multi-chart layouts; the active chart is used by default. The target pane is read back and failures are rolled back.
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": {
"symbol": "<symbol>"
},
"name": "set_symbol"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| symbol | Yes | Symbol to display, optionally exchange-prefixed | |
| chart_index | No | Chart index in a multi-chart layout. Default: active chart |