页面状态
browser_page_stateRead a compact page-state summary in one call to check URL, title, readyState, scroll position, dialogs, Cloudflare hints, and tab identity before long tasks or when navigation or scrolling fails.
Instructions
Read a compact page-state summary in one call: URL, title, readyState, visibilityState/hasFocus, scroll position/height/viewport (and whether the page is scrollable), visible dialogs plus intercepted alert/confirm/prompt records, Cloudflare challenge and rate-limit hints, and the browser/tab identity. Read-only. Use it before long tasks or whenever navigation or scrolling seems to have no effect.
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": "browser_page_state"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tabId | No | Tab id (default: active tab) |