tv_indicator_settings
Update indicator settings on TradingView charts by specifying the legend name or index. Map input labels to new values to adjust indicator parameters.
Instructions
Update an indicator's settings by legend name or index. settings is a map of input label to value. DESTRUCTIVE.
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": {
"nameOrIndex": "<nameOrIndex>",
"settings": "<settings>"
},
"name": "tv_indicator_settings"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| settings | Yes | Map of setting label/placeholder to new value | |
| nameOrIndex | Yes | Indicator legend name or zero-based index |