export_image
Save edited images to .png, .jpg, .webp, .avif, or .tif files, with optional transparency, scale, quality, and region export. Use only when the user requests saving a finished image.
Instructions
Write the image file (.png .jpg .webp .avif .tif). ONLY when the user asks for it. transparent=true keeps alpha (png/webp). box exports a region.
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": {
"path": "<path>"
},
"name": "export_image"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| box | No | ||
| path | Yes | ||
| scale | No | ||
| project | No | ||
| quality | No | ||
| transparent | No |