getWhiteboardImage
Render a whiteboard to a raster IMAGE so you can SEE it and confirm your edits look right, then iterate — like taking a screenshot. Returns the rendered board as a viewable image attached to the result (always raster: a JPEG light variant and/or a PNG dark variant; there is no vector/SVG output, ...
This record as markdown: /tools/io-stablebaseline-sb/getwhiteboardimage.md
What getWhiteboardImage does on Stable Baseline
AI agents call getWhiteboardImage to retrieve information from Stable Baseline without modifying anything. It is typically the context-gathering step in research, monitoring, and reporting workflows, before the agent takes action elsewhere.
| Parameter | Type | Required | Description |
|---|---|---|---|
theme | string | — | Which theme variant(s) to render. 'light' is fastest and right for inspecting your own edits; 'both' (default) also produces the dark variant used by the chat w |
region | object | — | Capture only this scene-coordinate window instead of the whole board — e.g. the user's current viewport, or the neighbourhood you are editing. The output is cro |
background | string | — | Canvas background colour (default white), e.g. '#ffffff' or 'transparent'. |
documentId | string | Yes | The whiteboard's documentId. |
elementIds | array | — | Render only these element ids (plus their bound labels + group peers) instead of the whole board. |
Parameters from the server's own tool schema.
Why getWhiteboardImage is rated Low
This is a read-only operation that retrieves and visualizes existing data (whiteboard state) without side effects. Taking a screenshot or rendering a visualization for viewing purposes is fundamentally a data retrieval activity with no capability to modify, execute, or destroy resources.
From the tool's definition Tool renders and retrieves a whiteboard visualization as an image for inspection and confirmation. Description states it 'Render a whiteboard to a raster IMAGE so you can SEE it' and 'Returns the rendered board as a viewable image' — no data modification,…
Attacks that exploit this kind of access
The rule that runs getWhiteboardImage safely
PolicyLayer is an MCP gateway: it sits between your AI agents and Stable Baseline, and checks every tool call against a rule you set before the call runs. Nothing changes on the server itself. For getWhiteboardImage, this is the rule to start with:
getWhiteboardImage is read-only, so it stays allowed. Everything else on the server is denied unless you say otherwise.
The button opens the PolicyLayer dashboard: create your workspace, connect Stable Baseline, apply this rule, and every getWhiteboardImage call is checked against it from then on.
Questions about getWhiteboardImage
Render a whiteboard to a raster IMAGE so you can SEE it and confirm your edits look right, then iterate — like taking a screenshot. Returns the rendered board as a viewable image attached to the result (always raster: a JPEG light variant and/or a PNG dark variant; there is no vector/SVG output, so for a vector export of a single diagram use getDiagramImage). Pass elementIds to render only specific shapes (e.g. to inspect one section/slide), region:{x,y,width,height} to capture an exact scene-coordinate window (e.g. the user's viewport), theme:'light' for the fastest single-variant render, or background to set the canvas colour. Unchanged boards return instantly from a content-keyed cache. Call this after addWhiteboardElements/updateWhiteboardScene to check layout, overlaps, labels and alignment before continuing. It is categorised as a Read tool in the Stable Baseline MCP Server, which means it retrieves data without modifying state.
getWhiteboardImage accepts 5 parameters: theme, region, background, documentId, elementIds. Required: documentId. The full parameter table on this page comes from the server's own tool schema.
Register the Stable Baseline MCP server in PolicyLayer and add a rule for getWhiteboardImage: 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 Stable Baseline. Nothing to install.
getWhiteboardImage is a Read tool with low risk. Read-only tools are generally safe to allow by default.
Yes. Add a rate_limit block to the getWhiteboardImage 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 getWhiteboardImage. 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.
getWhiteboardImage is provided by the Stable Baseline MCP server (https://api.stablebaseline.io/functions/v1/cloud-serve/mcp). PolicyLayer sits as a proxy in front of this server to enforce policies before tool calls reach the server.
More on Stable Baseline, and thousands of servers like it.
This server
Across the catalogue