Update batch
update_batchChange a batch: cooked weight, name, method, date, notes, finished or not, and remove portions recorded as eaten by others. Only the fields passed change.
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": {
"batch": "<batch>"
},
"name": "update_batch"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | ||
| batch | Yes | The batch's id or name | |
| notes | No | ||
| method | No | ||
| made_on | No | Calendar date YYYY-MM-DD in the user's timezone | |
| cooked_g | No | ||
| finished | No | true when the batch is eaten or thrown away; false reopens it | |
| remove_shared | No | Ids of portions eaten by others to remove |