Save Retouched Image
mcp_save_retouchApp-only: save a user-edited image from the shared ImageDetail retouch editor as a child generation result. Hidden from host LLMs; the MCP iframe calls this after the user presses Save.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_name | No | Optional filename for the saved retouched image | |
| mime_type | No | Optional image MIME type; inferred from a data URL or defaults to image/png | |
| operations | No | Optional retouch operation metadata stored with the child result | |
| image_base64 | Yes | Retouched image encoded as base64 or an image data URL | |
| parent_generation_result_id | Yes | Generation result ID of the original image |