Create a diet plan
create_diet_planWrites a diet plan with meals and foods for a student (student_id), or a template without it. It starts as a draft: activate_diet_plan publishes it.
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": {
"title": "<title>"
},
"name": "create_diet_plan"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| meals | No | Sending meals replaces every meal of the plan. | |
| notes | No | ||
| title | Yes | ||
| student_id | No | The student_id from list_students. | |
| target_kcal | No | ||
| target_fat_g | No | ||
| target_carbs_g | No | ||
| target_protein_g | No |