Create composition
create_compositionCreates a new composition from TSX source and opens it as a tab in the user's Motion page. files maps path to source and must include the entry (default composition.tsx). The API is specific to Motion and documented in read_skill {topic:'motion'}; design guidance is in {topic:'motion-craft'}. A partsBoard prop (default false) can lay out UI-like parts for checking before scenes are built.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fps | Yes | ||
| name | Yes | ||
| entry | No | Defaults to composition.tsx. | |
| files | Yes | ||
| token | Yes | The session token that connect returned. | |
| width | Yes | ||
| height | Yes | ||
| schema | No | Props schema; drives the editable controls. | |
| durationInFrames | Yes |