get_recipe_img
Fetches a recipe's static image using its ID and file name, with options for original or thumbnail sizes. Use to display recipe visuals or retrieve media assets.
Instructions
Get Recipe Img — Recipe: Images and Assets. Get image. [GET /api/media/recipes/{recipe_id}/images/{file_name}] Takes in a recipe id, returns the static image. This route is proxied in the docker image and should not hit the API in production Keywords: get_recipe_img, get recipe img, get image, fetch image, read image, retrieve image, view image, show image, image, images, recipe images and assets, media, recipes, get, fetch, read, retrieve, view, show, read-only, mealie.
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": {
"recipe_id": "<recipe_id>",
"file_name": "<file_name>"
},
"name": "get_recipe_img"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_name | Yes | ||
| recipe_id | Yes |