web.screenshot.capture
⚡ ACTION: Take a screenshot of any URL — returns image URL. Chrome-based rendering, supports full-page capture, custom viewport, ad blocking, cookie banner removal. Waits for JS-heavy SPAs to load (ApiFlash)
This record as markdown: /tools/io-github-whiteknightonhorse-apibase/web.screenshot.capture.md
What web.screenshot.capture does on Apibase
AI agents invoke web.screenshot.capture to trigger actions in Apibase. What it does depends on the arguments the agent supplies, and its effects often reach beyond the immediate call: builds kicked off, notifications sent, workflows started.
| Parameter | Type | Required | Description |
|---|---|---|---|
url | string | Yes | URL of the website to screenshot (e.g. "https://example.com") |
delay | integer | — | Wait N seconds before capture (0-10, for JS-heavy pages) |
width | integer | — | Viewport width in pixels (default 1920, max 3840) |
format | string | — | Image format: "png" (default), "jpeg", or "webp" |
height | integer | — | Viewport height in pixels (default 1080) |
no_ads | boolean | — | Block ads before capture (default false) |
full_page | boolean | — | Capture full page scroll height (default false) |
wait_until | string | — | "page_loaded" (default) or "network_idle" (wait for all XHR/fetch) |
no_cookie_banners | boolean | — | Remove cookie consent banners (default false) |
Parameters from the server's own tool schema.
Why web.screenshot.capture is rated High
Triggers external browser execution to render and capture arbitrary URLs.
From the tool's definition Take a screenshot of any URL — Chrome-based rendering
Risk signalsAccepts URL/endpoint input (url)
Attacks that exploit this kind of access
The rule that runs web.screenshot.capture safely
PolicyLayer is an MCP gateway: it sits between your AI agents and Apibase, and checks every tool call against a rule you set before the call runs. Nothing changes on the server itself. For web.screenshot.capture, this is the rule to start with:
web.screenshot.capture stays usable, but rate-capped: a runaway agent can't fire it dozens of times a minute. Everything else on the server is denied unless you say otherwise.
The button opens the PolicyLayer dashboard: create your workspace, connect Apibase, apply this rule, and every web.screenshot.capture call is checked against it from then on.
Questions about web.screenshot.capture
⚡ ACTION: Take a screenshot of any URL — returns image URL. Chrome-based rendering, supports full-page capture, custom viewport, ad blocking, cookie banner removal. Waits for JS-heavy SPAs to load (ApiFlash). It is categorised as a Execute tool in the Apibase MCP Server, which means it can trigger actions or run processes. Use rate limits and argument validation.
web.screenshot.capture accepts 9 parameters: url, delay, width, format, height, no_ads, full_page, wait_until, no_cookie_banners. Required: url. The full parameter table on this page comes from the server's own tool schema.
Register the Apibase MCP server in PolicyLayer and add a rule for web.screenshot.capture: allow, deny, rate-limit, or require approval. Point your MCP client at the PolicyLayer proxy URL and the rule is enforced on every call, before it reaches Apibase. Nothing to install.
web.screenshot.capture is a Execute tool with high risk. Execute tools should be rate-limited and have argument validation enabled.
Yes. Add a rate_limit block to the web.screenshot.capture rule in your PolicyLayer policy. For example, setting max: 10 and window: 60 limits the tool to 10 calls per minute. Rate limits are tracked per agent session and reset automatically.
Set action: deny in the PolicyLayer policy for web.screenshot.capture. The AI agent will receive a policy violation error and cannot call the tool. You can also include a reason field to explain why the tool is blocked.
web.screenshot.capture is provided by the Apibase MCP server (apibase-mcp-client). PolicyLayer sits as a proxy in front of this server to enforce policies before tool calls reach the server.
More on Apibase, and thousands of servers like it.
Across the catalogue