new_project
Create a MOGA project folder with config, compositions, assets and media, empty or from a sample film, then returns its id. Use it to start motion graphics work or reopen a copied sample.
Instructions
Make a project: empty (moga.json, compositions/, assets/, media/), or with sample: a copy of MOGA's sample project (a short film with footage, pictures and music to try things on; the copy is the person's own). In dir, or a folder named after it in the MOGA home; a sample already copied there is opened again. Returns its id.
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": {
"name": "<name>"
},
"name": "new_project"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dir | No | Folder to make it in (default: one named after it in the MOGA home) | |
| lang | No | The sample's language: zh (and zh-Hant) for the Chinese one, anything else for the English one. Default en. | |
| name | Yes | Project name | |
| sample | No | Start from MOGA's sample project. |