snapshot
Capture a compact view of a web page's controls, headings, alerts, or full visible text, scoped by CSS root for targeted UI inspection and testing.
Instructions
Compact page snapshot. mode=interactive (default): controls, headings, alerts. mode=full: also visible text. root=css to scope to part of the page.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "snapshot"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | ||
| root | No |