Meals By Ingredient
meals_by_ingredientFind all recipes using a specific ingredient (e.g., "chicken", "garlic", "pasta"). Returns meal names and IDs to pass to get_meal.
Example tool call
This call uses example arguments supplied in the tool’s input schema.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"ingredient": "chicken"
},
"name": "meals_by_ingredient"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ingredient | Yes | Ingredient name to filter by |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| meals | Yes | List of meals containing the ingredient | |
| total | Yes | Number of meals containing the ingredient | |
| ingredient | Yes | The ingredient that was searched |