close_project
Close the current After Effects project, choosing to save, discard, or prompt for unsaved changes; use force to proceed despite unsaved edits and target a specific instance when needed.
Instructions
Close the current project. save: "save" | "discard" | "prompt" (default).
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 |
|---|---|---|---|
| save | No | ||
| force | No | Proceed even if the current project has unsaved changes (a native Save dialog will block AE until dismissed). | |
| instance | No | Target a specific AE when more than one is connected (e.g. "2026", "2025", or a major like "26"). Omit when only one AE is open — see list_instances. |