add_repeat_item
Automates recurring food logging in Cronometer by adding a chosen food to specific days of the week, so you can set repeat meals without manual entry.
Instructions
Make a food log itself automatically on chosen days of the week.
Give food_id (from search_foods) and optionally measure_id; without a measure the food's default serving is used. Or give only food_name and the best search match is used: its name is echoed back, so check it.
Args: quantity: How many of the measure, e.g. 1 for one medium banana. food_id: From search_foods. measure_id: A measure of that food, from get_food_details. food_name: Search text, when food_id is not known. days: "all", "weekdays", "weekends", or e.g. "Mon,Wed,Fri". diary_group: Meal to log into, e.g. "Breakfast" (defaults by time of day).
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": {
"quantity": "<quantity>"
},
"name": "add_repeat_item"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| days | No | all | |
| food_id | No | ||
| quantity | Yes | ||
| food_name | No | ||
| measure_id | No | ||
| diary_group | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |