session_pages
Lists every browser target in a session, including popups and OAuth windows, and assigns each a page_id for immediate use with all page tools. Returns JSON with page_id, target_id, url.
Instructions
POPUP/TAB VISION: list EVERY browser target — pages you opened AND popups the site opened (OAuth windows, payment flows). Popups are auto-attached and given a page_id usable with every page_* tool immediately. Returns JSON [{page_id, target_id, url}].
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": {
"session_id": "<session_id>"
},
"name": "session_pages"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| session_id | Yes |