remotion_list_motion_tokens
List available motion design tokens including spring configurations, easing curves, and duration presets for creating professional animations in video production.
Instructions
List all available motion design tokens.
Returns spring configurations, easing curves, and duration presets
for creating smooth, professional animations.
Returns:
JSON object with motion tokens (springs, easings, durations)
Example:
motion = await remotion_list_motion_tokens()
# Returns spring configs, easing curves, duration presets
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- The core handler function for the 'remotion_list_motion_tokens' MCP tool. Defined inside register_token_tools(), decorated with @mcp.tool, and returns JSON-serialized MOTION_TOKENS.@mcp.tool async def remotion_list_motion_tokens() -> str: """ List all available motion design tokens. Returns spring configurations, easing curves, duration presets, animation presets, and YouTube optimization guidelines. Returns: JSON object with complete motion system Example: motion = await remotion_list_motion_tokens() # Returns springs, easings, durations, animation presets """ def _list(): return json.dumps(MOTION_TOKENS.model_dump(), indent=2) return await asyncio.get_event_loop().run_in_executor(None, _list)
- src/chuk_motion/server.py:30-51 (registration)Registers all token tools (including remotion_list_motion_tokens) by calling register_token_tools(mcp, project_manager, vfs) after importing it.from .tools.token_tools import register_token_tools from .utils.project_manager import ProjectManager logging.basicConfig(level=logging.INFO) logger = logging.getLogger(__name__) # Create the MCP server instance mcp = ChukMCPServer("chuk-motion") # Create virtual filesystem instance (using file provider for actual file operations) vfs = AsyncVirtualFileSystem(provider="file") # Create project manager instance project_manager = ProjectManager() # Register composition builder methods dynamically from components register_all_builders(CompositionBuilder) register_all_renderers(CompositionBuilder) # Register theme and token tools with virtual filesystem register_theme_tools(mcp, project_manager, vfs) register_token_tools(mcp, project_manager, vfs)
- Imports MOTION_TOKENS used by the tool handler to provide the motion token data.from ..tokens.token_manager import TokenManager