traceImage

Turn a raster image into hand-drawn freedraw strokes on a whiteboard, deterministically. Pass an image (imageUrl OR imageBase64) plus a style; the server fetches and vectorises it server-side and draws the strokes, so you do NOT emit any coordinates yourself (LLMs are poor at that and it wastes t...

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

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

What traceImage does on Stable Baseline

AI agents use traceImage 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 to the right of existing content.
y number Top-left y on the canvas. Omit to auto-place.
style string Vectorisation style. 'sketch' = clean line art (default), 'color' = more colors, 'poster' = posterised.
width number Target display width in px (default 520); the drawing scales to fit, aspect preserved.
imageUrl string URL to fetch the image from (http/https; private and metadata hosts are blocked).
mimeType string Optional image MIME type hint (e.g. 'image/png'); auto-detected otherwise.
maxColors number Palette size 2-16 (defaults by style: sketch 3, color 8, poster 12).
documentId string Yes The whiteboard's documentId.
maxStrokes number Cap on the number of strokes, 20-1200 (default 600). Lower = simpler and faster.
imageBase64 string Base64-encoded image bytes (a data: URL prefix is allowed). Use instead of imageUrl.

Parameters from the server's own tool schema.

Why traceImage is rated Medium

This tool creates new content on a whiteboard by vectorising an image and drawing strokes onto it. It is a Write operation — it creates/modifies whiteboard data in a reversible way (strokes can be deleted). No code execution, financial action, or irreversible destruction is involved.

From the tool's definition 'draws the strokes', 'Turn a raster image into hand-drawn freedraw strokes on a whiteboard', 'Auto-places to the ri[ght]'

Risk signalsHigh parameter count (10 properties)

Questions about traceImage

What does the traceImage tool do? +

Turn a raster image into hand-drawn freedraw strokes on a whiteboard, deterministically. Pass an image (imageUrl OR imageBase64) plus a style; the server fetches and vectorises it server-side and draws the strokes, so you do NOT emit any coordinates yourself (LLMs are poor at that and it wastes tokens). Use this for requests like 'sketch this image onto the board', portraits, or turning a logo into line art. style: 'sketch' (~3 colors, clean line art; default), 'color' (~8 colors), 'poster' (~12 colors). Returns a compact summary (stroke count), never the raw coordinates. Auto-places to the right of existing content unless x/y are given. 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 traceImage accept? +

traceImage accepts 10 parameters: x, y, style, width, imageUrl, mimeType, maxColors, documentId, maxStrokes, imageBase64. Required: documentId. The full parameter table on this page comes from the server's own tool schema.

How do I enforce a policy on traceImage? +

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

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

Can I rate-limit traceImage? +

Yes. Add a rate_limit block to the traceImage 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 traceImage completely? +

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

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