Get Recipe
get_recipeFetch a recipe by ID to retrieve its ingredients, portion count, and nutrients per portion. Use it to resolve recipe IDs from consumed items or saved recipes.
Instructions
Get a recipe by ID with its ingredients, portion count and nutrients per portion. Use it to resolve recipe_id of recipe portions in get_user_consumed_items.
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": "get_recipe"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Recipe ID, e.g. recipe_id of a recipe portion from get_user_consumed_items or an ID from get_user_recipes |