duplicateWhiteboardElements

Copy-paste existing whiteboard elements — the MCP equivalent of selecting a group and pressing Ctrl/Cmd+D. Clones the given elements (plus their group peers + bound text/labels) with FRESH ids, offsets the copy by dx/dy, and by default groups it into ONE new unit so it moves together. Use it to b...

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

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

What duplicateWhiteboardElements does on Stable Baseline

AI agents use duplicateWhiteboardElements 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
dx number Horizontal offset for the copy (default 40). Use the element width + a gap to place copies side by side.
dy number Vertical offset for the copy (default 40).
ids array Element ids to copy. Each id's full group + any bound text are auto-included. Use this and/or groupId.
group boolean Group the copy into one new unit so it moves/duplicates together (default true).
groupId string Copy EVERY element in this group as one unit — e.g. a placed stencil's `groupId` returned by addWhiteboardElements.
documentId string Yes The whiteboard's documentId.
includeGroupPeers boolean Auto-include the full group of any id you pass (default true).

Parameters from the server's own tool schema.

Why duplicateWhiteboardElements is rated Medium

This tool creates new whiteboard elements by duplicating existing ones — a reversible write/create operation. It does not execute code, delete data, or involve financial transactions. The blast radius is medium since misuse could clutter or corrupt a shared whiteboard, but changes are reversible.

From the tool's definition Clones the given elements (plus their group peers + bound text/labels) with FRESH ids, offsets the copy by dx/dy, and by default groups it into ONE new unit

Questions about duplicateWhiteboardElements

What does the duplicateWhiteboardElements tool do? +

Copy-paste existing whiteboard elements — the MCP equivalent of selecting a group and pressing Ctrl/Cmd+D. Clones the given elements (plus their group peers + bound text/labels) with FRESH ids, offsets the copy by dx/dy, and by default groups it into ONE new unit so it moves together. Use it to build something once (a labelled stencil frame, a kanban card, a UML class) then stamp out consistent repeats fast — then retext/recolour each copy by its new id (via the returned idMap) with updateWhiteboardScene. Pass groupId to copy a whole group as a unit (e.g. a placed stencil's groupId from its placement result) and/or ids for specific elements. Internal references (group membership, bound text containerId, arrow start/end bindings) are remapped within the copied set; a binding to an element you did NOT copy is dropped. Returns { duplicated, idMap (old id → new id), groupId (the copy's new unit group), elementCount }. Render with getWhiteboardImage afterwards to verify. 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 duplicateWhiteboardElements accept? +

duplicateWhiteboardElements accepts 7 parameters: dx, dy, ids, group, groupId, documentId, includeGroupPeers. Required: documentId. The full parameter table on this page comes from the server's own tool schema.

How do I enforce a policy on duplicateWhiteboardElements? +

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

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

Can I rate-limit duplicateWhiteboardElements? +

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

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

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