joiva_get_meal_planning_context
Meal-planning briefing for the signed-in user in one call: allergies and intolerances, active conditions and medications, the 14-day Bristol stool-form trend with pre-written food suggestions, latest biomarkers with their dates, active symptoms (Vora); the current fasting window (Still); the supplements logged today (Stackwell); the day's macros and micronutrient intake gaps, the pantry incl. staples, the shopping list and frequently logged foods (Joiva); body data and energy need (Vitalli). Each source is read only if the user enabled that app for AI access. Every source carries available and fetchedAt, and an error when it is unavailable (not enabled, or not reachable); an unavailable source means unknown, not empty. The guidance field holds fixed notes on reading the data (allergies and a running fast as constraints, intake gaps versus measured values). Personal food rules are not included.
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": "joiva_get_meal_planning_context"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tz | No | IANA timezone, default Europe/Berlin | |
| date | No | YYYY-MM-DD for the Joiva day state. Defaults to today. | |
| sections | No | Limit the briefing to these sources. Default: all sources. |