update_custom_recipe_ingredients
Replace the ingredient list of a custom recipe using a JSON array. Supports volume annotations and a dry-run mode for validation without applying changes.
Instructions
Replace a custom recipe's ingredients.
ingredients_json must be a JSON array. Each item may be plain ingredient text or an INGREDIENT object containing a VOLUME annotation. This partial update preserves the recipe's other fields.
Set dry_run to true to validate and return the full replacement ingredient list without patching Cookidoo.
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>",
"ingredients_json": "<ingredients_json>"
},
"name": "update_custom_recipe_ingredients"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dry_run | No | ||
| recipe_id | Yes | ||
| ingredients_json | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |