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

SCREENCAST-MCP / TOOLS / EDIT

Export GIF or WebP

export_gif

Export an animated GIF or WebP that fits a size budget (for PRs, issues, READMEs), stepping fps, width, and quality down until it fits.

editwritesdestructivesince v0.17.0

00:00PARAMETERS
NameTypeDescription
input requiredstringPath to the source video.
format"gif" | "webp"gif (default) or webp (usually much smaller).
maxBytesintegerSize budget in bytes (default 10000000, under GitHub's 10 MB image limit). ≥ 10000, ≤ 9007199254740991
fpsnumberStarting frame rate (default 12). > 0, ≤ 30
widthintegerStarting width in px (default 960). ≥ 64, ≤ 1920
startnumberStart second. ≥ 0
durationnumberSeconds to export (default: to the end). > 0
outputstringOptional output path. Defaults under SCREENCAST_HOME/edits.
overwritebooleanAllow replacing an existing file at the output path (default false).
00:05A MINIMAL CALL
export_gif { "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.
00:15SEEN IN