See students diets
get_active_dietsEach student's current diet: published plans (since when, meals, adherence of the week) and drafts the trainer saved but never published to a student who has no active diet yet, with student name and the app_url of that student's diet screen. Use it to answer "who is still waiting for the diet I wrote?"; max_adherence (0-100) answers "who is not following the diet?": only published plans at or below that adherence, lowest first, with the phone to ask what is hard (the guardian phone for a dependent); get_diet_plan shows the plan, and activate_diet_plan publishes it only after the trainer says so.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "get_active_diets"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| max_adherence | No | Only published diets whose week adherence is at or below this percent, lowest first. |