Merge pull request #799 from MarekSpodBiedry/issue-749

Automation: a layer or comp id sent as a string resolves as an id (#749)
This commit is contained in:
Brandon Thomas committed 2026-10-12 03:23:00 -04:00
commit e8e896e1d6
3 files changed
+39 -5

No files matched your search

+2 -1
View File
@@ -123,7 +123,8 @@ See [MCP conventions](mcp.md) for core tools, resources, strict arguments, and r
| `render_preview` | Render a PNG without writing a file (`comp`, `time`, `max_side`, `transparent`). |
Layers are referenced by id (from `get_comp`), `"#n"` (1-based index from the top) or name. Comps are
referenced by id or name, and default to the active comp. Property paths come from `get_layer`, for
referenced by id or name, and default to the active comp. An id may also be sent as a string (`"98"`):
an all-digit string that matches no name is taken as the id. Property paths come from `get_layer`, for
example `transform/position`, `transform/opacity`, `effects/#1/blurriness` or `@57` (by uid). Times
are in seconds. Keyframe times are layer time, which equals comp time unless the layer is offset or
stretched.