Artboards & Vector Canvas · MCP Tool
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.
Tool Overview & Agent Execution
add_mask is an official Exode MCP tool that allows AI coding assistants like Claude Code, Cursor, and Windsurf to adds a mask layer config to a target object (editor multi-mask format). supports alpha/luma masks, inverted masks, feather, opacity, and blend mode.. 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_mask to configure the motion properties in my active .exode workspace"Tool Parameters & Input Schema
| Parameter | Type | Required | Description |
|---|---|---|---|
| blendMode | string | Optional | The blendMode parameter for add_mask. |
| feather | number | Optional | The feather parameter for add_mask. |
| inverted | boolean | Optional | The inverted parameter for add_mask. |
| maskId | string | Yes | ID of the shape acting as mask |
| opacity | number | Optional | The opacity parameter for add_mask. |
| path | string | Yes | The path parameter for add_mask. |
| targetId | string | Yes | The targetId parameter for add_mask. |
| type | string | Optional | The type parameter for add_mask. |
More Artboards & Vector Canvas Tools
add_object
Appends a new object (Shape, Frame, Text, etc.) to an artboard. Defaults position to artboard center if omitted or (0,0).
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_mask, then fine-tune timing, spring physics, and export ready-to-ship code in ExodeUI.