OvenLovin
ReferenceMCP Tools

import_recipe_from_image

Import a recipe from a photo (URL or base64). Uses AI Gateway vision. The first image is stored as the single main photo. save:false returns a preview; omit save to persist. skipReview clears needsReview. Returns uncertainFields when the photo is hard to read.

Input

ParameterTypeRequiredDefaultDescription
imageUrlstringNo-Public image or Vercel Blob URL
imageBase64stringNo-Raw base64 or data URL
mimeTypestringNo-MIME type when sending raw base64
imagesarrayNo-Extra pages (url or base64 each). First photo is the main image
isHandwrittenbooleanNo-Hint that the card is handwritten
draftobjectNo-Previewed recipe from a prior import. Skips extract
savebooleanNopersistfalse returns a preview without saving
idempotencyKeystringNo-Same key replays the same saved recipe
allowDuplicatebooleanNo-Persist a near-duplicate photo instead of returning the existing recipe
skipReviewbooleanNofalseSkip review queue and publish immediately
cookbookIdstring (UUID)No-File the imported recipe in this cookbook

Provide imageUrl, imageBase64, images[], or draft.

Needs AI Gateway (AI_GATEWAY_API_KEY locally; OIDC / VERCEL=1 on Vercel). Vision model: RK_MODEL_VISION or deepseek/deepseek-v4.1-flash.

Example

{
  "imageUrl": "https://blob.vercel-storage.com/recipe-card.jpg",
  "save": false
}

On this page