Start a dish after another dish
link_dishMake a dish start a while after another dish goes in or is done ("the potatoes 30 minutes after the chicken goes in"), or clear that link by leaving after out. Starting the other dish early or late then moves this one with it. A dish cannot wait on a dish that waits on it, and a dish that already started cannot be linked. Needs the plan's code and control key.
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>",
"key": "<key>",
"dish": "<dish>"
},
"name": "link_dish"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | Yes | The secret control key plan_meal gave you for this plan (starts with ktpk_). Never show it or put it in a link. | |
| code | Yes | The plan's code, or its whole link. | |
| dish | Yes | The dish's name as in the plan, or its number in the plan (1 is the first dish). | |
| when | No | Count from when that dish goes in, or from when it is done. | |
| after | No | The dish to follow: its name as in the plan, or its number. Leave out to clear this dish's link. | |
| minutes | No | Minutes after that moment. 0 or left out: right then. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| message | Yes |