Find and replace text in template clips
replace_mogrt_textFind and replace plain text in After Effects MOGRT text fields across a sequence or single video track while keeping fonts and styles; use dry_run to preview changes first.
Instructions
Find and replace text in the text fields of every After Effects template clip of a sequence (or one video track), keeping fonts and styles. Plain text matching, not a pattern. Graphics made in Premiere Pro are skipped and counted. Returns replaced (fields changed), clips_scanned, premiere_graphics_skipped and changes: clip_id, index, name, before, after (read back). dry_run=true only reports what would change.
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": {
"find": "<find>",
"replace": "<replace>"
},
"name": "replace_mogrt_text"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| find | Yes | Text to look for. | |
| dry_run | No | Report the changes without making them. Default false. | |
| replace | Yes | Replacement text (may be empty). | |
| sequence_id | No | Stable sequence id (from list_sequences). Omit to use the active sequence. | |
| track_index | No | Only this 0-based video track. Default: all video tracks. | |
| sequence_name | No | Sequence name; used only when sequence_id is not given. | |
| case_sensitive | No | Match upper/lower case exactly. Default false. |