browser_watch
Records console messages, exceptions, network requests, and navigations from the active tab, then returns captured events on poll and stops capture on stop.
Instructions
Record page events from the active tab. start begins capturing console messages, exceptions, network requests/responses and navigations (events: console, network, navigation, all). poll returns and clears events since the last poll, plus memory readings. stop ends capture and returns what remains. Keeps the newest 5,000 events. Bound to the tab that was active at start — switching tabs or restarting the browser stops the capture.
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": {
"action": "<action>"
},
"name": "browser_watch"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes | start=begin recording, poll=get events since last poll, stop=cleanup | |
| events | No | Event types to capture (default: all) |