Create batch
create_batchRecord one cooking of a dish, from a saved recipe or from its ingredients with grams: saved foods by name or id, or unsaved ingredients with their own estimated numbers. Its nutrition is fixed when created; per 100 g follows the cooked weight. Returns the batch with nutrition per 100 g.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "create_batch"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Default: the recipe's name and the date | |
| items | No | What went in: each a saved food (food) or an unsaved ingredient (item with its numbers). With a recipe, replaces the recipe's list for this batch | |
| notes | No | ||
| raw_g | No | Raw weight in grams. Default: the sum of the items | |
| scale | No | Multiply the recipe's grams, e.g. 2 for a double batch. Default 1 | |
| method | No | e.g. 'pressure cooked', 'baked' | |
| recipe | No | A saved recipe's id or name | |
| made_on | No | Calendar date YYYY-MM-DD in the user's timezone | |
| cooked_g | No | Weight of the whole batch once cooked |