State Machines & Logic · MCP Tool
edit_object_interaction
Updates an existing interaction rule on an object.
Tool Overview & Agent Execution
edit_object_interaction is an official Exode MCP tool that allows AI coding assistants like Claude Code, Cursor, and Windsurf to updates an existing interaction rule on an object.. 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 edit_object_interaction to configure the motion properties in my active .exode workspace"Tool Parameters & Input Schema
| Parameter | Type | Required | Description |
|---|---|---|---|
| action | string | Optional | The action parameter for edit_object_interaction. |
| conditions | array | Optional | The conditions parameter for edit_object_interaction. |
| delayValue | number | Optional | The delayValue parameter for edit_object_interaction. |
| easingCurve | string | Optional | The easingCurve parameter for edit_object_interaction. |
| inputValue | string | Optional | The inputValue parameter for edit_object_interaction. |
| interactionId | string | Yes | The interactionId parameter for edit_object_interaction. |
| intervalValue | number | Optional | The intervalValue parameter for edit_object_interaction. |
| navigateUrl | string | Optional | The navigateUrl parameter for edit_object_interaction. |
| objectId | string | Yes | The objectId parameter for edit_object_interaction. |
| path | string | Yes | The path parameter for edit_object_interaction. |
| playMode | string | Optional | The playMode parameter for edit_object_interaction. |
| subAnimationIds | array | Optional | The subAnimationIds parameter for edit_object_interaction. |
| targetAnimationId | string | Optional | The targetAnimationId parameter for edit_object_interaction. |
| targetArtboard | string | Optional | The targetArtboard parameter for edit_object_interaction. |
| targetInputId | string | Optional | The targetInputId parameter for edit_object_interaction. |
| targetState | string | Optional | The targetState parameter for edit_object_interaction. |
| transitionDuration | number | Optional | The transitionDuration parameter for edit_object_interaction. |
| triggerLogic | string | Optional | The triggerLogic parameter for edit_object_interaction. |
| triggers | array | Optional | The triggers parameter for edit_object_interaction. |
More State Machines & Logic Tools
add_behavior
Adds a behavioral sensor (Proximity, Magnetic, Fluid, Sticky, etc) to an object for interactive motion.
add_flow_rule
RECOMMENDED SEQUENCING PRIMITIVE: Adds an animation flow/sequencer rule to orchestrate multi-step transitions and state-driven animations without raster effects.
add_input
RECOMMENDED STATE MACHINE PRIMITIVE: Adds a reactive input variable (Boolean, Number, Trigger, Text) to the state machine to model component states without heavy raster effects.
add_input_variable
RECOMMENDED STATE MACHINE PRIMITIVE (Alias for add_input): Adds a reactive state machine variable to cleanly drive interactive states.
Build & Review Motion Visually
Let Claude or Cursor run edit_object_interaction, then fine-tune timing, spring physics, and export ready-to-ship code in ExodeUI.