Get recipe
get_recipeFull recipe for one dish: steps, FAQ, image credit, and ingredients with PARSED quantities (amount, unit, and a normalised base in grams or millilitres where the quantity is measurable). Count-based lines like "3 onions" carry a gram estimate only where a per-item weight is known. Pass servings to rescale the ingredient quantities; the steps keep the original amounts. adaptations lists the diets (vegan, vegetarian, halal, dairy-free, pescatarian) the dish can be fully converted to, with each swap marked substitute (same dish) or adaptation (a different dish).
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": {
"slug": "<slug>"
},
"name": "get_recipe"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lang | No | Language for titles, ingredient names and URLs. | en |
| slug | Yes | Recipe slug in any of the 7 languages, or a dish name (resolved by search). | |
| servings | No | Rescale ingredient quantities to this many servings. The dish's own count is returned as original_servings. Steps are NOT rescaled: they keep the amounts of the original recipe. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| faq | Yes | ||
| url | Yes | ||
| form | Yes | ||
| slug | Yes | ||
| image | Yes | ||
| notes | Yes | ||
| steps | Yes | ||
| title | Yes | ||
| country | Yes | ||
| calories | Yes | ||
| category | Yes | ||
| servings | Yes | Servings the ingredient quantities are for (the requested count when servings was passed). | |
| adaptations | Yes | Diets this dish does not already fit but can be FULLY converted to - the adapt control shown on the recipe page. A diet is listed only when every disqualifying ingredient has a swap; partial conversions are never offered. Empty when the dish already fits every listed diet, or when no full conversion exists. | |
| attribution | Yes | ||
| description | Yes | ||
| ingredients | Yes | ||
| match_count | Yes | ||
| resolved_by | Yes | ||
| country_name | Yes | ||
| original_servings | Yes | Servings the recipe was written for; the steps always describe this count. | |
| prep_time_minutes | Yes |