Close project
close_projectCloses the open After Effects project and leaves an empty untitled project. Save to its file or a new .aep path, or discard unsaved changes, since no dialog is shown.
Instructions
Close the open project (AE is left with an empty untitled project). Dirty projects need saveCurrent (true or path) or discardChanges:true; never shows a dialog.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "close_project"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| overwrite | No | Allow saveCurrent to replace an existing different .aep file. | |
| saveCurrent | No | Save the open project first: true = save to its own file (fails if it was never saved), or a .aep path (save as). | |
| discardChanges | No | Required (true) when the open project has unsaved changes and saveCurrent is not given; those changes are lost. |