Import file
import_fileImports one file—footage, image, image sequence, audio, layered PSD/AI comp, or .aep—into an After Effects project and reports missing or unimportable files clearly.
Instructions
Import one file (footage, image, image sequence, audio, layered PSD/AI as comp, or another .aep) into the project. Fails clearly if the file is missing or can't be imported as requested. Returns the main item plus every item created (e.g. the layers folder of a comp import).
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": {
"path": "<path>"
},
"name": "import_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Rename the imported item. | |
| path | Yes | Absolute file path (for a sequence: any frame of it). | |
| folder | No | Project folder to put the imported item(s) in (name/path/id). Omit for the root. | |
| importAs | No | How to import: footage (default for media), comp / comp_cropped_layers (layered PSD/AI as a composition), project (.aep into this project). Fails listing the possible modes if the file can't be imported that way. | |
| sequence | No | Import as an image sequence: path = any frame of a numbered sequence (e.g. shot_0001.png). | |
| forceAlphabetical | No | Image sequence: use alphabetical order instead of numbers. |