estimate_export
FreeRead-only: always allowedRead-only
Same action in the terminal: capturemann export --estimate
Estimate the size of an export before it runs: a best guess and a hard upper bound, with no decoding and no file written.
- Tier: Free, read-only: always allowed, never asks, no setting.
- Read-only: yes
- CLI:
capturemann export --estimate - Spec: EXP-5
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
capture_id | string | yes | Capture id, e.g. from capture_screenshot or list_library. (min length 1) | |
format | mp4 | webm | gif | no | "mp4" | |
size | source | 1440p | 1080p | 720p | 480p or 1440 | 1080 | 720 | 480 | no | MP4 and WebM: source (the default) or a height step 1440, 1080, 720 or 480 (also "720p"). | |
width | 480 | 640 | 800 | 1024 | no | GIF only (default 800); the WebM width of older scripts is accepted too. | |
max_mb | number | no | GIF and WebM: "fit under N MB"; accepted so a request can be checked as it will be sent. (max 1000, above 0) |
Returns: max_bytes, label, typical_bytes, typical_label, codec, width, height, fps, duration_s, known_after_export, format, options.
Errors: invalid_input, not_found (plus the common errors above).
JSON
{"name": "estimate_export", "arguments": {"capture_id": "rec_06GYEVMCKZSRHR46", "format": "webm", "size": "720p"}}