browser_state
Retrieve the current URL, title, viewport, and tab count from a mobile device's browser by providing its serial number. Get a JSON snapshot of the browser state to monitor remote browsing sessions.
Instructions
Get the current URL, title, viewport and tab count.
Args: serialno: The browser device serialno, from list_devices.
Returns: JSON envelope whose data carries the browser state.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"serialno": "<serialno>"
},
"name": "browser_state"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| serialno | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |