Artboards & Vector Canvas · MCP Tool
add_object
Appends a new object (Shape, Frame, Text, etc.) to an artboard. Defaults position to artboard center if omitted or (0,0).
Tool Overview & Agent Execution
add_object is an official Exode MCP tool that allows AI coding assistants like Claude Code, Cursor, and Windsurf to appends a new object (shape, frame, text, etc.) to an artboard. defaults position to artboard center if omitted or (0,0).. It directly inspects and modifies local .exode JSON files with precision without manual UI tweaking.
Example Prompt for Claude Code & Cursor
Give this instruction to your AI coding agent to execute this tool on your active .exode workspace:
prompt
"Use add_object to configure the motion properties in my active .exode workspace"Tool Parameters & Input Schema
| Parameter | Type | Required | Description |
|---|---|---|---|
| object | object | Yes | The full object data as per v7.6 MEGA-Spec. |
| origin | string | Optional | Coordinate space: 'center' (default) where (0,0) is artboard center, or 'top-left' / 'stage'. |
| path | string | Yes | The path parameter for add_object. |
More Artboards & Vector Canvas Tools
add_mask
Adds a mask layer config to a target object (editor multi-mask format). Supports alpha/luma masks, inverted masks, feather, opacity, and blend mode.
add_screen
Adds a screen to a project (a single-artboard file becomes multi-screen). Blank screens match the active screen's size/background and get an onLoad animation in an entry state, like the editor's; or pass duplicateFrom to copy an existing screen. Wire navigation with add_object_interaction action 'Navigate Artboard'.
add_shadow
Adds a drop shadow or inner shadow to an object.
align_objects
Aligns objects by their real bounding boxes (size × scale) to the selection or the artboard. Objects must share a parent.
Build & Review Motion Visually
Let Claude or Cursor run add_object, then fine-tune timing, spring physics, and export ready-to-ship code in ExodeUI.