take_screenshot
Capture browser tab screenshots without stealing focus. Save as PNG file or return inline, with optional full-page capture.
Instructions
Capture a screenshot of a browser tab without stealing focus from the user. Defaults to the visible viewport. Set fullPage: true to capture the entire scrollable page as one tall image. WRITES A FILE by default: the PNG is saved to filePath, or to an auto-generated path in the system temp directory when filePath is omitted, and this call returns that path rather than the image. If you have no filesystem tool, pass output: "inline" and the image is attached to this response instead, with nothing written to disk. For background tabs and full-page captures, Chrome briefly displays its standard yellow developer-tools notice at the top of the target tab during capture; it clears automatically when capture completes (typically under one second).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tabId | No | Tab ID to screenshot. Defaults to the active tab. | |
| output | No | Where the full payload goes. "file" (default) writes it to filePath, or the system temp directory when filePath is omitted and returns a summary plus the path, which keeps a large payload out of your context window. "inline" writes nothing and returns the whole payload in this response. Use it when you have no filesystem tool to read the file with, such as a chat client. "auto" follows the CUSTOMAISE_MCP_OUTPUT environment variable, falling back to "file". | |
| filePath | No | Local file path to save the screenshot. Auto-generates a temp path if omitted. Ignored when output is "inline". | |
| fullPage | No | If true, capture the entire scrollable page (single tall PNG). If false or omitted, capture the visible viewport only. |