export_item
Packages a composition, asset, or taste into a portable .moga bundle with its layers, media, translations, tokens, and motion presets; reports missing media.
Instructions
Write a composition or an asset to /.moga, a folder anyone can send to another person or computer and import with import_item { bundle }: with the assets its layers use, the media files they point at, the translations of its strings (locales/), the project tokens it names that MOGA does not define (tokens.json) and the motion presets its taste defines. Returns what went in; missing lists media it points at that are not on disk. kind taste writes the project's taste instead (TASTE.md with its rules and their cases, the rule files in rules/*.md, and its own style package) to /.moga; on the CLI moga export-item taste <to> works too.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"kind": "<kind>"
},
"name": "export_item"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | The folder to write the bundle in (required) | |
| kind | Yes | ||
| name | No | The composition or asset (for taste: the bundle's name, default taste) |