annator / mcps /playwright /tools /browser_snapshot.json
techprotrade's picture
Add mcps directory (part 2)
cf3884b verified
Raw
History Blame Contribute Delete
970 Bytes
{
"name": "browser_snapshot",
"description": "Capture accessibility snapshot of the current page, this is better than screenshot",
"inputSchema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"properties": {
"target": {
"description": "Exact target element reference from the page snapshot, or a unique element selector",
"type": "string"
},
"filename": {
"description": "Save snapshot to markdown file instead of returning it in the response.",
"type": "string"
},
"depth": {
"description": "Limit the depth of the snapshot tree",
"type": "number"
},
"boxes": {
"description": "Include each element's bounding box as [box=x,y,width,height] in the snapshot. Coordinates are viewport-relative, in CSS pixels (Element.getBoundingClientRect)",
"type": "boolean"
}
},
"additionalProperties": false
}
}