Skip to main content
ExodeUI

EXODEUI DESKTOP

A little space for good ideas.

Choose your platform to get the official ExodeUI installer.

Looking for Intel Mac or other builds? Explore the web studio or check all download options.

Prefer the browser? Try for free in your browser →
State Machines & Logic · MCP Tool

create_expression

Creates a math expression node that computes a value from input variables.

Tool Overview & Agent Execution

create_expression is an official Exode MCP tool that allows AI coding assistants like Claude Code, Cursor, and Windsurf to creates a math expression node that computes a value from input variables.. 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 create_expression to configure the motion properties in my active .exode workspace"

Tool Parameters & Input Schema

ParameterTypeRequiredDescription
expressionstringYesJS expression using input variable names (e.g. 'scrollX * 0.5 + offset)'
namestringOptionalThe name parameter for create_expression.
outputTypestringOptionalOutput type (default: number)
pathstringYesThe path parameter for create_expression.
variablesarrayYesVariable IDs to use as inputs
xnumberOptionalThe x parameter for create_expression.
ynumberOptionalThe y parameter for create_expression.

More State Machines & Logic Tools

Build & Review Motion Visually

Let Claude or Cursor run create_expression, then fine-tune timing, spring physics, and export ready-to-ship code in ExodeUI.