Save recipe
save_recipeSave a reusable recipe made of saved foods with their grams, or update one (by id, or the same name; the items replace the old list). Returns its totals and nutrition per 100 g and per serving.
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": {
"name": "<name>",
"items": "<items>"
},
"name": "save_recipe"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | ||
| name | Yes | ||
| items | Yes | ||
| notes | No | ||
| yield_g | No | Usual cooked weight of the whole recipe; per 100 g is worked out on it. Default: the raw weight | |
| serving_g | No | Weight of one serving in grams |