Set a clip's source in/out points
set_item_in_outSet a project item’s source in and out points in seconds to define the media range used for later edits. Specify video, audio, or both; this does not trim clips already on the timeline.
Instructions
Set the source in point and/or out point of a project item, in seconds from the media start. Pass at least one of in_point and out_point. media_type "all" (default) sets video and audio together. This marks the source range for later edits; it does not trim clips already on a timeline. Returns the resulting video and audio in/out points.
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": "set_item_in_out"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| item_id | No | Stable project item id (from list_project_items). Preferred. | |
| in_point | No | New in point, in seconds from the media start. | |
| item_name | No | Item name; the first match in the project is used. | |
| item_path | No | Path in the Project panel, e.g. "Footage/Day 1/clip.mp4". | |
| out_point | No | New out point, in seconds from the media start. | |
| media_type | No | Which side of the clip: "all" (video and audio together), "video" or "audio". |