layers_at
Inspect what is on screen at a given time or time range, including visible elements, their IDs, boxes, nested compositions, and assets, to identify referred elements and verify edits.
Instructions
What is on screen (headless): the nested compositions showing (in a transition, both), and every visible element (its id, the id set_props and set_motion take) with its box in composition pixels, the nested composition it is in, the asset it shows and the good/bad examples judged on it. t is one time, or a list of times (one answer each). With to, the stretch from t to to: every element seen in it once, with when it is first and last on screen and its box then (boxTo when it moved), e.g. what shows during a transition. With region, only the elements overlapping it. Use it to find which element a person means by "that, there", and to check a change landed where it should.
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": {
"t": "<t>"
},
"name": "layers_at"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| t | Yes | ||
| to | No | End of a stretch from t (seconds, "80f" or "4b"): what is on screen at any time in it | |
| asset | No | Asset name (file in assets/ without .json) | |
| region | No | Only layers overlapping this rectangle, in composition pixels | |
| composition | No | Composition name (file in compositions/ without .json) |