{ "name": "chrome_click_element", "description": "Click on an element in a web page. Supports multiple targeting methods: CSS selector, XPath, element ref (from chrome_read_page), or viewport coordinates. More focused than chrome_computer for simple click operations.", "parameters": { "type": "object", "properties": { "selector": { "type": "string", "description": "CSS selector or XPath for the element to click." }, "selectorType": { "type": "string", "enum": ["css", "xpath"], "description": "Type of selector (default: \"css\")." }, "ref": { "type": "string", "description": "Element ref from chrome_read_page (takes precedence over selector)." }, "coordinates": { "type": "object", "description": "Viewport coordinates to click at.", "properties": { "x": { "type": "number" }, "y": { "type": "number" } }, "required": ["x", "y"] }, "double": { "type": "boolean", "description": "Perform double click when true (default: false)." }, "button": { "type": "string", "enum": ["left", "right", "middle"], "description": "Mouse button to click (default: \"left\")." }, "modifiers": { "type": "object", "description": "Modifier keys to hold during click.", "properties": { "altKey": { "type": "boolean" }, "ctrlKey": { "type": "boolean" }, "metaKey": { "type": "boolean" }, "shiftKey": { "type": "boolean" } } }, "waitForNavigation": { "type": "boolean", "description": "Wait for navigation to complete after click (default: false)." }, "timeout": { "type": "number", "description": "Timeout in milliseconds for waiting (default: 5000)." }, "tabId": { "type": "number", "description": "Target tab ID. If omitted, uses the current active tab." }, "windowId": { "type": "number", "description": "Window ID to select active tab from (when tabId is omitted)." }, "frameId": { "type": "number", "description": "Target frame ID for iframe support." } }, "required": [] } }