Observe Web Session
observe_web_sessionArms a timed CDP observation window to capture a user's page session, recording navigation, redirect, lifecycle, and failure events while optionally limiting retention to allowed origins.
Instructions
Arm a CDP observation window of the requested duration while the user operates the page. By default it follows the selected target's current origin; an explicit origin list controls which origins may be retained. Records navigation, redirect, lifecycle, and failure events.
Example tool call
This call uses example arguments supplied in the tool’s input schema.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"target_id": "TARGET_ID_FROM_LIST_BROWSER_TARGETS",
"cdp_endpoint": "http://127.0.0.1:9222",
"observation_ms": 10000
},
"name": "observe_web_session"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| target_id | Yes | Exact CDP target identifier selected from the endpoint's target listing. | |
| cdp_endpoint | Yes | Literal loopback Chrome DevTools Protocol endpoint. | |
| observation_ms | No | ||
| allowed_origins | No |