| { | |
| "name": "browser_click", | |
| "description": "Perform click on a web page", | |
| "inputSchema": { | |
| "$schema": "https://json-schema.org/draft/2020-12/schema", | |
| "type": "object", | |
| "properties": { | |
| "element": { | |
| "description": "Human-readable element description used to obtain permission to interact with the element", | |
| "type": "string" | |
| }, | |
| "target": { | |
| "type": "string", | |
| "description": "Exact target element reference from the page snapshot, or a unique element selector" | |
| }, | |
| "doubleClick": { | |
| "description": "Whether to perform a double click instead of a single click", | |
| "type": "boolean" | |
| }, | |
| "button": { | |
| "description": "Button to click, defaults to left", | |
| "type": "string", | |
| "enum": [ | |
| "left", | |
| "right", | |
| "middle" | |
| ] | |
| }, | |
| "modifiers": { | |
| "description": "Modifier keys to press", | |
| "type": "array", | |
| "items": { | |
| "type": "string", | |
| "enum": [ | |
| "Alt", | |
| "Control", | |
| "ControlOrMeta", | |
| "Meta", | |
| "Shift" | |
| ] | |
| } | |
| } | |
| }, | |
| "required": [ | |
| "target" | |
| ], | |
| "additionalProperties": false | |
| } | |
| } |