get_page_state
Retrieve the current page state — title, URL, visible text, interactive elements, and console errors — to understand what is on screen before deciding the next action.
Instructions
Get the current state of the page — title, URL, visible text, interactive elements, and console errors. Use this to understand what is on screen before deciding the next action.
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": "get_page_state"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| selector | No | Scope to a specific element — returns only that element's state | |
| includeHtml | No | Include truncated outer HTML of the body (default: false) |