update_recipe
Update a recipe's attributes by providing a recipe ID and a fields object with key-value pairs. Use get_recipe to identify exact attribute names, then submit changes.
Instructions
Update a recipe's attributes. PUT /recipes/{id}.
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>",
"fields": "<fields>"
},
"name": "update_recipe"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fields | Yes | Open key/value object of attributes. Keys are passed straight through to the ReciPal API namespaced under the resource (e.g. {name, package_yield_quantity, package_yield_unit, servings, packages, suggested_serving, sku, preparation, visual_unit_of_measure}). Call get_recipe on an existing recipe first to see the exact attribute names this account uses. Note that tags cannot be set here -- ReciPal accepts the request and silently ignores a tags string, and errors on other shapes. Tags do carry forward through scale_recipe when cloning a tagged template. | |
| as_json | No | ||
| recipe_id | Yes |