capture-screenshot
Capture a screenshot of a webpage or specific element, store it in the MCP resource system, and return a resource URI. Optionally include a base64 encoded image in the response.
Instructions
Captures a screenshot of the current page or a specific element. Stores the screenshot in the MCP resource system and returns a resource URI. If ENABLE_BASE64 environment variable is set to 'true', also includes base64 encoded image in the response.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
selector | No | CSS selector to capture (captures full page if not provided) | |
url | No | URL to navigate to before capturing screenshot. Do not provide if you want to capture the current page. |