Add a recipe photo
set_recipe_imageAttach or replace the photo on a recipe the user can edit: an image you generated (base64) or a public image URL (fetched from the web). Chef plan only, max 5 MB, PNG/JPEG/WebP/GIF; replaces any old photo. Saved as a new revision. Blocked on read-only accounts. Returns {id, revision, image_saved, bytes}.
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": {
"id": "<id>"
},
"name": "set_recipe_image"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Recipe id (UUID) from search_recipes or an earlier result | |
| image_url | No | Public https URL of the image; give this or image_base64 | |
| mime_type | No | Type of image_base64 if it has no data: prefix; default image/png | |
| image_base64 | No | Base64 image data (a data:image/...;base64, prefix is fine) |