katto_adjust_clip
Trim or extend a finished Katto clip by moving its start and/or end offsets, then re-render. Specify offsets in seconds relative to original bounds; result must last 3-180s.
Instructions
Trim or extend one finished clip by moving its start and/or end, then re-render it. Offsets are in seconds, relative to the clip's ORIGINAL bounds (two calls do not add up): positive extends (start earlier / end later), negative trims. The result must last 3-180 s and stay inside the source video. Extending re-cuts from the source, which Katto keeps 7 days: after that only trimming works (410). Captions for an extended part come from words Katto already timed or the transcript sentence. Does NOT use video quota; the original clip is kept. Not idempotent: each call starts a new render. Returns { rerender_id, status_url, start_seconds, end_seconds, duration_seconds, extended }; poll katto_get_rerender for the new clip_url.
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": {
"id": "<id>",
"clip_index": "<clip_index>"
},
"name": "katto_adjust_clip"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Job id. | |
| clip_index | Yes | 0-based clip index. | |
| end_offset_seconds | No | Seconds to move the END: positive ends later (extends), negative ends earlier (trims). Relative to the clip's original end. | |
| start_offset_seconds | No | Seconds to move the START: positive starts earlier (extends), negative starts later (trims). Relative to the clip's original start. |