mealie_create_recipe_from_text
Turn extracted recipe text into a structured Mealie recipe after user confirmation. Handles ingredients, steps, tags, and cover image crops from scanned cookbook photos.
Instructions
Create a Mealie recipe from OCR/vision-extracted text and optional images.
Requires mutations enabled AND confirmed_by_user=True. Use this after showing the user a preview of title, ingredients, steps, tags, and asking for explicit confirmation. Ingredient lines are stored in display and note so Mealie mobile renders them correctly.
For cookbook/photo imports, the agent may choose a title-image crop itself:
pass cover_crop_box=[left, top, right, bottom] with cover_crop_units="percent"
(default, 0..100; fractional 0..1 is accepted too) or "pixels". The crop is
taken from cover_crop_source_url, otherwise main_image_url, otherwise
source_image_url, and uploaded as the Mealie recipe cover. The full
source_image_url can still be uploaded as the original cookbook asset.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| tags | No | ||
| servings | No | ||
| cook_time | No | ||
| prep_time | No | ||
| total_time | No | ||
| description | No | ||
| ingredients | Yes | ||
| source_note | No | Imported from a cookbook photo or screenshot via Mealie MCP. | |
| instructions | Yes | ||
| recipe_yield | No | ||
| cover_crop_box | No | ||
| main_image_url | No | ||
| cover_crop_units | No | percent | |
| source_image_url | No | ||
| confirmed_by_user | No | ||
| source_asset_name | No | Original-Kochbuchfoto | |
| overwrite_existing | No | ||
| cover_crop_source_url | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||