check_expression_errors
Scan a comp or the whole After Effects project for broken expressions that failed to evaluate and were auto-disabled, returning each layer, property, error, and enabled state so you can fix them.
Instructions
Sweep for BROKEN expressions — every property whose expression failed to evaluate (non-empty expressionError; AE auto-disables these). Pass comp to scan one comp, omit to scan the whole project. Returns { errorCount, errors:[{comp, layer, prop, error, enabled}] }. set_expression already reports an error for the property it just set; use this to sweep everything or re-verify after edits.
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": "check_expression_errors"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| comp | No | omit to scan the whole project; accepts name, id, or { id: N } | |
| 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. |