REC 00:00:00;00
screencast-mcp Tools Workflows Connect GitHub ↗

SCREENCAST-MCP / TOOLS / EDIT

Trim Video

trim

Cut a video down to one sub-clip by start + (end or duration). For several segments use clip; to combine with other edits use pipeline.

editwritesdestructivesince v0.2.0

00:00PARAMETERS
NameTypeDescription
input requiredstringPath to the source video.
start requirednumberStart time in seconds. ≥ 0
endnumberEnd time in seconds. Use end OR duration. > 0
durationnumberClip length in seconds. Use end OR duration. > 0
exactbooleanRe-encode for a frame-exact cut with the removed content really gone (default true). false = fast stream copy that snaps to a keyframe and keeps hidden earlier frames; never use it to remove secrets.
outputstringOptional output path. Defaults under SCREENCAST_HOME/edits.
overwritebooleanAllow replacing an existing file at the output path (default false).
00:05A MINIMAL CALL
trim { "input": "recording.mp4", "start": 0 }

The required arguments only, with placeholder values. Everything else takes its default.

00:10WHAT COMES BACK

Structured content (structuredContent), alongside a text summary:

FieldTypeDescription
outputPath alwaysstringPath of the file written.
00:15SEEN IN