page_state
Capture a current page snapshot with URL, title, viewport, interactable elements, and form fields to inspect what changed after browser actions without screenshots; optionally include a text summary.
Instructions
[Agent Browser] Get comprehensive current page state snapshot. Returns: URL, title, viewport size, visible interactable elements, and form fields. Use this after actions to understand what changed without taking a screenshot. Set include_text=True to also get a text summary of the page content (headings, key text).
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": "page_state"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| include_text | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | No | ||
| hints | No | ||
| message | No | ||
| success | No | ||
| suggestions | No |