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

SCREENCAST-MCP / TOOLS / EDIT

Scale Video

scale

Resize a video to a target width and/or height and re-encode. Provide one side to keep the aspect ratio, or both to set an exact size.

editwritesdestructivesince v0.3.0

00:00PARAMETERS
NameTypeDescription
input requiredstringPath to the source video.
widthintegerTarget width in px. Omit to derive from height (keeps aspect). > 0, ≤ 9007199254740991
heightintegerTarget height in px. Omit to derive from width (keeps aspect). > 0, ≤ 9007199254740991
outputstringOptional output path. Defaults under SCREENCAST_HOME/edits.
overwritebooleanAllow replacing an existing file at the output path (default false).
00:05A MINIMAL CALL
scale { "input": "recording.mp4" }

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.