recipes_units_update_one
Replace an existing recipe unit with new details, including name, abbreviation, and aliases. Use for full updates to units in Mealie.
Instructions
Update One — Recipes: Units. Replace (full update) unit. [PUT /api/units/{item_id}] Keywords: recipes_units_update_one, recipes units update one, update unit, replace unit, edit unit, modify unit, save unit, write unit, unit, units, recipes units, update, replace, edit, modify, save, write, put, mealie.
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": {
"item_id": "<item_id>",
"body": "<body>"
},
"name": "recipes_units_update_one"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | Yes | ||
| item_id | Yes |