ui_click
Click TradingView DOM elements using aria-label, data-name, text, or class selectors to control custom buttons, dropdowns, and navigation when high-level tools don't cover them.
Instructions
Click a TradingView DOM element matching selector strategy (aria-label, data-name, text, class-contains). WHEN TO USE: Call when interacting with custom buttons, dropdowns, or navigation elements not covered by high-level tools. SIDE EFFECTS: STATE_MUTATING (Dispatches click event to DOM element). LIMITATIONS: Target element must be present in DOM.
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": {
"by": "<by>",
"value": "<value>"
},
"name": "ui_click"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| by | Yes | Selector strategy | |
| value | Yes | Value to match against the chosen selector strategy |