insertWhiteboardImage

Insert a real IMAGE (photo, screenshot, logo, picture) into a whiteboard — the storage-backed equivalent of insertImageInDocument. Provide the image as imageUrl (fetched and re-hosted), imageBase64, or imageBinary; for large files call createImageUploadSession(documentId) first then pass the retu...

SERVERStable Baseline SOURCEhttps://api.stablebaseline.io/functions/v1/cloud-serve/mcp
Medium RISK CLASS
Category Write
Parameters 121 required
Recommended Rate-limitedsee the rule below
Registry record Grade F, identity unverified Pull the record →

This record as markdown: /tools/io-stablebaseline-sb/insertwhiteboardimage.md

What insertWhiteboardImage does on Stable Baseline

AI agents use insertWhiteboardImage to create or update resources in Stable Baseline, usually the action step of a workflow, after the agent has gathered context. Every call changes real data in your Stable Baseline environment.

ParameterTypeRequiredDescription
x number Top-left x on the canvas. Omit to auto-place.
y number Top-left y on the canvas. Omit to auto-place.
align string Horizontal alignment relative to existing content (placed below it). Ignored if x/y are provided.
width number Display width in px (resize). Defaults to ~360.
height number Display height in px. Derived from width at 4:3 if omitted.
locked boolean Lock the placed image so it cannot be moved, resized, or deleted by hand (e.g. a deck-owned framed slide image that changes only via the deck conversation). Def
caption string Optional caption shown as a text label grouped beneath the image.
fileName string Optional original filename (for storage + type hinting).
imageUrl string URL to fetch the image from, or an assetUrl returned by createImageUploadSession.
documentId string Yes The whiteboard's documentId.
imageBase64 string Base64-encoded image bytes (a data: URL prefix is allowed). Best for small images.
imageBinary array Raw image bytes as an array of 0-255 values (alternative to imageBase64).

Parameters from the server's own tool schema.

Why insertWhiteboardImage is rated Medium

This tool creates new content (images and metadata) in a whiteboard document and persists it to cloud storage. While the action is reversible (images can typically be deleted), the primary function is to write/modify document state. It does not execute arbitrary code, delete data irreversibly, or move money.

From the tool's definition The tool 'insertWhiteboardImage' creates and modifies whiteboard content by inserting images with options to add captions and resize.

Risk signalsAccepts file system path (fileName) · High parameter count (12 properties)

Questions about insertWhiteboardImage

What does the insertWhiteboardImage tool do? +

Insert a real IMAGE (photo, screenshot, logo, picture) into a whiteboard — the storage-backed equivalent of insertImageInDocument. Provide the image as imageUrl (fetched and re-hosted), imageBase64, or imageBinary; for large files call createImageUploadSession(documentId) first then pass the returned assetUrl as imageUrl. The bytes are stored in the document-images bucket and the scene only holds a reference (never base64), exactly like pasted images. Options: caption (a text label placed + grouped beneath the image), width/height in px to RESIZE (if only one is given the other follows a 4:3 ratio; ~360px wide if neither), and placement via x/y (top-left) OR align ('left'|'center'|'right', positioned just below existing content) — omit both to auto-place to the right of the current content. After inserting, call getWhiteboardImage to verify. To move or resize the image later, patch its element via updateWhiteboardScene (mode:'patch' with {id, x, y, width, height}). For curated software-architecture ICONS (AWS/Docker/etc.) use addWhiteboardElements with an {type:'image', iconPath} spec instead. It is categorised as a Write tool in the Stable Baseline MCP Server, which means it can create or modify data. Consider rate limits to prevent runaway writes.

What parameters does insertWhiteboardImage accept? +

insertWhiteboardImage accepts 12 parameters: x, y, align, width, height, locked, caption, fileName, imageUrl, documentId, imageBase64, imageBinary. Required: documentId. The full parameter table on this page comes from the server's own tool schema.

How do I enforce a policy on insertWhiteboardImage? +

Register the Stable Baseline MCP server in PolicyLayer and add a rule for insertWhiteboardImage: 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.

What risk level is insertWhiteboardImage? +

insertWhiteboardImage is a Write tool with medium risk. Write tools should be rate-limited to prevent accidental bulk modifications.

Can I rate-limit insertWhiteboardImage? +

Yes. Add a rate_limit block to the insertWhiteboardImage 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.

How do I block insertWhiteboardImage completely? +

Set action: deny in the PolicyLayer policy for insertWhiteboardImage. 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.

What MCP server provides insertWhiteboardImage? +

insertWhiteboardImage 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.

Across the catalogue

// THE MCP REGISTRY

PolicyLayer tracks 44,603 MCP servers and 515,000+ tools.

Every server has a live record: who publishes it, whether it answers without auth, its risk grade, every tool classified, the recommended policy. This page is one line of Stable Baseline's. Pull the full record:

Teams ship this data inside their own products. See what a licence covers →

// GET IN TOUCH

Have a question or want to learn more? Send us a message.

Message sent.

We'll get back to you soon.