List Pages
list_pagesLists all open browser tabs with their URLs and titles to help users track active web sessions and content.
Instructions
Lists all open tabs in the browser with their URLs and titles.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- src/tools.ts:180-195 (handler)Implementation and registration of the 'list_pages' MCP tool in src/tools.ts. The handler uses `getAllPages()` to retrieve and return the open tabs.
// ── list_pages ──────────────────────────────────────────────────── server.registerTool( "list_pages", { title: "List Pages", description: "Lists all open tabs in the browser with their URLs and titles.", }, async () => { const pages = await getAllPages(); return textResult({ pages, count: pages.length, }); } );