create_macro_template
Create a saved macro target template specifying protein, fat, carbs, and calorie goals, and optionally assign it as the recurring default for all days of the week.
Instructions
Create a new saved macro target template in Cronometer.
Optionally assigns it to all days of the week as the recurring default.
Args: template_name: Name for the new template (e.g. "Retatrutide GI-Optimized"). protein_grams: Protein target in grams. fat_grams: Fat target in grams. carbs_grams: Net carbs target in grams. calories: Calorie target in kcal. assign_to_all_days: If True, also set this as the recurring weekly schedule for all 7 days (default False).
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": {
"template_name": "<template_name>",
"protein_grams": "<protein_grams>",
"fat_grams": "<fat_grams>",
"carbs_grams": "<carbs_grams>",
"calories": "<calories>"
},
"name": "create_macro_template"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| calories | Yes | ||
| fat_grams | Yes | ||
| carbs_grams | Yes | ||
| protein_grams | Yes | ||
| template_name | Yes | ||
| assign_to_all_days | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |