video_trim
Screen, windows & UI · macOS · Windows
Effect: write (strongest supported action). Status: gated.
Gated means the tool requires an installed app, a connected account, permission, or runtime availability. Check those requirements on the listed platform before using it.
macOS
Purpose
Trims a video to one or more time ranges (milliseconds), concatenated in order into a NEW file — e.g. keep [{start_ms:0,end_ms:6000},{start_ms:126000,end_ms:223000}] to drop a dead segment. Audio is carried along. Returns the output path + duration. Never overwrites the input in place. The first call previews; confirm: true writes the file.
Required inputs
input— Path to the source video.ranges— Ordered [{start_ms, end_ms}] to keep.
Permissions and confirmation
Explicit confirmation parameter: inspect the schema and tool description before any real call. The documentation example keeps confirm false. Obtain user authorization before performing the action.
- Use only the apps, accounts and resources authorized by the user on this platform. Consult this tool's platform-specific description for its connection and permission requirements; this catalog does not assert additional OAuth scopes or OS entitlements.
Full input schema — macOS
{
"properties": {
"confirm": {
"description": "Must be true to write the output. Without it the call returns a preview and writes nothing.",
"type": "boolean"
},
"input": {
"description": "Path to the source video.",
"type": "string"
},
"output": {
"description": "Output path (default: <input>_trimmed.mov). Missing parent folders are created.",
"type": "string"
},
"overwrite": {
"description": "Replace an existing file at output. Without it an existing output is refused. The input is never overwritten.",
"type": "boolean"
},
"ranges": {
"description": "Ordered [{start_ms, end_ms}] to keep.",
"items": {
"type": "object"
},
"type": "array"
}
},
"required": [
"input",
"ranges"
],
"type": "object"
}Documentation example
Do not execute this example. These concrete inputs refer to a fictional demonstration dataset. Resolve real handles and obtain user authorization before any real call.
{
"confirm": false,
"input": "/Users/demo/Documents/meeting.mov",
"ranges": [
{
"end_ms": 5000,
"start_ms": 0
}
]
}Windows
Purpose
Trims a video to one or more time ranges (milliseconds), concatenated in order into a NEW file — e.g. keep [{start_ms:0,end_ms:6000},{start_ms:126000,end_ms:223000}] to drop a dead segment. Audio is carried along. Returns the output path + duration. Never overwrites the input in place. The first call returns a preview and writes nothing; confirm=true exports.
Required inputs
input— Path to the source video.ranges— Ordered [{start_ms, end_ms}] to keep.
Permissions and confirmation
Explicit confirmation parameter: inspect the schema and tool description before any real call. The documentation example keeps confirm false. Obtain user authorization before performing the action.
- Use only the apps, accounts and resources authorized by the user on this platform. Consult this tool's platform-specific description for its connection and permission requirements; this catalog does not assert additional OAuth scopes or OS entitlements.
Full input schema — Windows
{
"properties": {
"confirm": {
"description": "Must be true to export. Without it, returns a preview.",
"type": "boolean"
},
"input": {
"description": "Path to the source video.",
"type": "string"
},
"output": {
"description": "Output path (default: <input>_trimmed.mov).",
"type": "string"
},
"ranges": {
"description": "Ordered [{start_ms, end_ms}] to keep.",
"items": {
"type": "object"
},
"type": "array"
}
},
"required": [
"input",
"ranges"
],
"type": "object"
}Documentation example
Do not execute this example. These concrete inputs refer to a fictional demonstration dataset. Resolve real handles and obtain user authorization before any real call.
{
"confirm": false,
"input": "C:\\Users\\demo\\Documents\\meeting.mov",
"ranges": [
{
"end_ms": 5000,
"start_ms": 0
}
]
}