watch_get_replay
Converts the current watch recording into an ordered batch of portal tool calls that reproduces recorded edits, ready to feed to the batch tool; non-reproducible edits are returned as unmapped.
Instructions
Convert the current watch recording into an ordered batch of portal tool calls that reproduces what was done — feed the returned operations straight to the batch tool. Layer/comp targets use {id} addressing. Returns { operations:[{tool,args}], count, unmapped:[...] } (plus deltas[] when relative:true). Mapping: value edits → set_property; key_add/key_mod → add_keyframe; path_change → set_path; parent → parent_layers; blend → set_layer_blend_mode; in_point/out_point → set_in_out; enabled → toggle_layer_state; text → set_text; layer_del → delete_layer. Non-reproducible edits (layer_add, key_del, key_ease with no recorded ease values, font/font_size/text_animator) go to unmapped with a human note — never fabricated. dedupe (default true) collapses a drag's many intermediate value samples to the final value per layer+prop.
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": "watch_get_replay"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dedupe | No | When true (default), collapse repeated value edits on the same layer+prop to the final value (a drag emits many). Set false to keep every recorded intermediate value. | |
| 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. | |
| relative | No | When true, also return deltas[] (old→value change) for transform Position/Anchor Point value ops so the caller can retarget them onto another layer. operations stay ABSOLUTE — set_property sets absolute values. |