Plan a meal
plan_mealNo sign-in needed. Make a meal plan: each dish starts at the right moment so everything is ready at the same time. Returns a link (open it on the phone in the kitchen, where the alarms ring), a QR code for that link, and the schedule. YOU do the cooking knowledge: break a recipe into dishes, each with its total cooking minutes, and put the timed moments inside a dish as steps ("simmer 20, rest 5" is a dish of 25 minutes with a step "Rest" at 20). Use readyInMinutes for "we eat in 90 minutes", readyAt for "at 7" (send the plain local clock time, "19:00" or "7pm"; a time zone is never needed, because the plan page fixes the exact moment in the zone of the phone that opens it, and the reply says so), or startNow to start cooking now (a single timer is a one-dish plan with startNow). If the person gave no time at all, ask when they want to eat. Keep times realistic and use only what the person gave you; at most 12 dishes, no dish over 12 hours, and a ready time up to two weeks ahead (later is refused). A clock time with no date means the next time the clock reads that on the phone that opens the plan; when the person named another day, send a local date-time such as "2026-11-24T19:00" and say the date you used. A time that has already passed (it is 8 pm and they said 7 pm, or the date is yesterday) is never an error: you get a plan for the next such time, normally tomorrow, and the reply says the day, so tell the person; if they want to eat sooner, call again with startNow. If the ready time is up to 15 minutes too soon for the longest dish, you still get a plan: it starts now and the reply gives the new ready time, so tell the person. If it is more than that, the reply is not an error and no plan is made: it gives the earliest ready time, so call again with startNow (or a later time) and tell the person the new time. For a plan more than a day away, tell the person to open the Kitchen Timer app on their phone once before the day. Dish names are plain text, no links. The reply link works for anyone who has it and the plan is deleted about a day after the meal. Tell the person the alarms ring on the phone page, not in this chat. When you wrote a recipe, send it as recipe (ingredients and ordered steps, with dish on the step that starts each timed dish): the page then shows the recipe, and Start cooking opens it on the phone with each timer inside its step and saves it under Meals. It is public like the plan, so nothing personal in it. The reply also holds a secret CONTROL KEY (starts with ktpk_): remember it for the rest of the chat, do not show it or put it in any link, and pass it with the plan's code to the control tools to keep managing this plan. Kitchen Timer can also be connected for the whole kitchen: ⋯ → Link an agent in the app shows the connector address and a 6-digit code.
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": {
"dishes": "<dishes>"
},
"name": "plan_meal"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dishes | Yes | What is being cooked. A single timer is one dish. | |
| recipe | No | Optional: the recipe, so the person gets a full meal to cook from (ingredients, then the steps in order, each timed step showing its timer) and not only timers. It is saved under Meals on their phone when they tap Start cooking. Leave it out for a plain timer plan. Plain text only, no links. It is public like the rest of the plan (anyone with the link can read it, deleted about a day after the meal), so put nothing personal in it. Limits: 30 ingredients, 20 steps, step text 400 characters; over a limit the call is refused, nothing is cut. | |
| readyAt | No | Everything ready at this time: a plain local clock time such as "19:00" or "7pm" (no time zone needed: the phone that opens the plan fixes the moment), a local date-time such as "2026-10-17T19:00" for another day, ISO 8601 with a UTC offset (2026-10-17T19:00:00+01:00), or epoch milliseconds. | |
| startNow | No | True: start every dish now (the longest dish sets when it is ready). | |
| timeZone | No | Optional IANA time zone such as Europe/London. Leave it out when you do not know it: a plain local clock time needs no zone, the phone page fixes the moment. Only used to word the schedule text; the card and the phone show times in the viewer's own clock. | |
| readyInMinutes | No | Everything ready this many minutes from now. Give exactly one of readyInMinutes, readyAt, startNow. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | Open this on the phone in the kitchen. | |
| code | No | ||
| links | No | Each dish that starts after another dish (also on the dish as startsAfter). | |
| alarms | No | ||
| dishes | No | ||
| readyAt | No | Ready time, ISO 8601 (UTC). | |
| adjusted | No | Only when the asked-for time was up to 15 minutes too soon: the plan starts now and is ready later than asked. askedReadyAtMs / askedReadyAt is what was asked, lateMinutes how much too soon it was. | |
| planMade | Yes | True when a plan was made (code, url and the schedule are then present). False: the time was too soon by more than 15 minutes, nothing was made, and earliestReadyAtMs says when it can be ready; call again with startNow true or a later readyAt. | |
| schedule | No | ||
| readyAtMs | No | ||
| readyLocal | No | Only when readyAt was a plain local clock time: that time (19:00, or 2026-11-23T19:00). The phone that opens the link fixes the real moment in its own time zone. | |
| expiresAtMs | No | ||
| movedToNext | No | Only when the asked-for time had already passed: the plan is for the next time the clock reads that (normally tomorrow), not an error. askedReadyAt (or askedReadyLocal, when no time zone was known) is what was asked; the reply text says the day. | |
| serverNowMs | No | ||
| askedReadyAt | No | With movedToNext: the moment that had passed, ISO 8601 (UTC). (With adjusted it is inside adjusted.) | |
| askedReadyAtMs | No | Only with planMade false: the ready time that was asked for. | |
| minutesTooSoon | No | ||
| askedReadyLocal | No | With movedToNext and a plain local time: what was asked (19:00, or 2026-11-20T19:00). | |
| earliestReadyAt | No | ||
| zoneFixedOnOpen | No | ||
| earliestReadyAtMs | No | Only with planMade false: the earliest the plan can be ready. |