Validation & Version Control · MCP Tool
switch_branch
Switches the active branch; restores the branch head version into the artboard if one exists.
Tool Overview & Agent Execution
switch_branch is an official Exode MCP tool that allows AI coding assistants like Claude Code, Cursor, and Windsurf to switches the active branch; restores the branch head version into the artboard if one exists.. 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 switch_branch to configure the motion properties in my active .exode workspace"Tool Parameters & Input Schema
| Parameter | Type | Required | Description |
|---|---|---|---|
| branchId | string | Yes | Branch ID or name |
| path | string | Yes | The path parameter for switch_branch. |
More Validation & Version Control Tools
add_analytics
Adds GA4/Meta Pixel/Mixpanel analytics tracking to an object (click, hover, or visible trigger).
checkout_version
Restores the artboard file to a previously committed version snapshot.
commit_version
Commits the current artboard state as a named version (snapshot stored in a sidecar .versions.json file). Supports branches.
create_branch
Creates a new branch in the artboard's version history (optionally switches to it immediately).
Build & Review Motion Visually
Let Claude or Cursor run switch_branch, then fine-tune timing, spring physics, and export ready-to-ship code in ExodeUI.