indicator_toggle_visibility
Show or hide an indicator or study on a TradingView chart by providing its entity ID and setting visibility to true or false.
Instructions
Show or hide an indicator/study on the chart
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": {
"entity_id": "<entity_id>",
"visible": "<visible>"
},
"name": "indicator_toggle_visibility"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| visible | Yes | true to show, false to hide | |
| entity_id | Yes | Entity ID of the study (from chart_get_state) |