view_page
Inspect page content and retrieve stable element references for click, type, and fill_form actions. Filter by interactive, all, landmark, or visual views, and expand collapsed containers for deeper access.
Instructions
See what is on the page: text plus stable element refs for click/type/fill_form. Default filter 'interactive' lists actionable elements; for paragraphs or table cells call view_page(ref, filter: 'all'). Collapsed containers show as [eXX role, N items] — expand with view_page(ref: 'eXX', filter: 'all').
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": "view_page"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ref | No | Element ref for a subtree | |
| depth | No | Tree levels shown; indentation only, hidden sections need a click | |
| filter | No | interactive | all | landmark | visual (bounds, click point, visibility) | interactive |
| max_tokens | No | Token budget; content downsampled. Omit for full output |