Screenshot tab
browser_screenshotReturns a JPEG image of the visible shared tab as MCP image content (type image, mimeType image/jpeg, data as base64). The text part is a small JSON object with observationId, width, and height — not the image bytes. Capture runs only when the tab origin is in allowedOrigins; a different origin is ORIGIN_NOT_ALLOWED and no image is taken. Site access for that origin is enough: if captureVisibleTab still requires the literal <all_urls> pattern, the tab is captured in the background and the debugger is detached. CAPTURE_PERMISSION_MISSING means Enable or Reconnect and allow the Chrome permission prompt. A failed screenshot does not reduce screenshotsRemaining. Rapid screenshots return RATE_LIMITED with retryAfterMs — wait, do not burst.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| reason | No | ||
| sessionId | Yes |