Image Edit
image_editEdit source images or decoded video frames by cropping, resizing, cutting out subjects, adding annotations, and converting formats while retaining exact provenance and manifest data.
Instructions
Edit a source image or decoded video frame and persist its exact manifest.
Coordinates use the oriented source grid before crop and resize. Requires the optional images extra; frame selection also requires local FFmpeg. Source-derived edits and annotations retain explicit provenance.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"request": "<request>"
},
"name": "image_edit"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| request | Yes | Bounded preparation, crop, resize, five annotation kinds, polygon/flood cutout and PNG/JPEG/WebP/BMP/GIF conversion | |
| include_image | No | Emit actual native image blocks up to 1 MiB each; text retains identical provenance |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||