Change a container in Loafy
update_containerChange one of the baker's containers, by its id from list_my_containers: only the name, weight or notes given change, and a text given replaces the old text. No container is deleted. Needs the baker's Loafy account.
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": {
"id": "<id>"
},
"name": "update_container"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | The container's id, from list_my_containers or add_container. | |
| name | No | The container's name, e.g. "Glass bowl". | |
| notes | No | Notes on the container. | |
| weight_grams | No | The empty container's weight in grams. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | The same answer, recipe or entry on loafy.ai. | |
| note | No | A remark on the whole result, such as why nothing was found. | |
| tool | No | The tool that answered. | |
| input | No | The arguments as the tool used them, after any correction. | |
| notes | No | What was corrected or left out, such as a value outside its range. | |
| saved | No | What was saved, in one sentence. | |
| container | No | One of the baker's containers. |