What is next in a meal plan
meal_statusSay what is next in a meal plan made with plan_meal, and how long until it. Give the plan's code (the last part of its link). Only reads; never changes a plan. Give the control key too, if you have it, to also see the timers on the phone.
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": {
"code": "<code>"
},
"name": "meal_status"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | No | Optional: the plan's secret control key. With it the answer also says whether the person has started the timers on the phone and what each one is doing. | |
| code | Yes | The plan's code, or its whole link. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes | ||
| next | No | ||
| links | No | Each dish that starts after another dish: {dish, number, after, afterNumber, when: 'goes in'|'is done', minutes, text}. Keep these when you change the plan. | |
| state | Yes | ||
| timers | No | Only with the key, once the phone has started: each dish's state on the phone. | |
| claimed | No | Only with the key: a phone has tapped Start. | |
| upcoming | No | ||
| readyAtMs | Yes | ||
| serverNowMs | No |