browser_snapshot
Capture webpage snapshots using a managed browser pool to resolve session conflicts and enable concurrent, isolated browsing sessions.
Instructions
Page snapshot
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "browser_snapshot"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- index.js:317-330 (registration)The browser_snapshot tool is registered here and delegates the execution to proxyToolCall.
server.tool('browser_snapshot', 'Page snapshot', {}, async () => { log(`[browser_snapshot] called`); const check = requireActivePage(); if (check) return check; try { const result = await proxyToolCall('browser_snapshot', {}); log(`[browser_snapshot] result: ${JSON.stringify(result).slice(0, 500)}`); return result; } catch (err) { log(`[browser_snapshot] ERROR: ${err.message}\n${err.stack}`); throw err; } });