annator / mcps /playwright /tools /browser_click.json
techprotrade's picture
Add mcps directory (part 2)
cf3884b verified
Raw
History Blame Contribute Delete
1.26 kB
{
"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
}
}