Plan a day
plan_dayPlace tasks into a day's free time with Yoodoo's own planner, as Plan today does on the phone: between wake and wind down, around everything already timed, timed habits, the busy times from their calendar that Yoodoo has, and any busy times you pass; the priority first, then starred; 5 minute gaps (or back to back); whatever doesn't fit goes to Anytime on that day, never crammed. Tasks are existing ones by id (from list_lists or get_day) and/or new ones. Returns a PREVIEW with a preview_id and changes nothing: show the person the plan, and once they say yes call again with the same arguments, confirm: true and that preview_id.
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": "plan_day"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| busy | No | More times that are taken, never planned over: from their calendar when get_day says it is not shared, or anything they tell you. Busy times Yoodoo already has are used without passing them. | |
| date | No | YYYY-MM-DD, or "today" or "tomorrow". Defaults to today in the person's time zone. | |
| light | No | A lighter day: fill at most three quarters of the free time. | |
| confirm | No | Apply the plan. Only after the person has seen the preview and said yes. | |
| spacing | No | Gaps (default) keeps 5 minutes between blocks. | |
| task_ids | No | Existing tasks to place on this day. | |
| timezone | No | IANA time zone, e.g. "Europe/London". Leave it out to use the one Yoodoo last planned in. | |
| new_tasks | No | ||
| preview_id | No | The preview_id the preview returned. Needed with confirm: a plan that no longer matches it is previewed again, not applied. | |
| priority_task_id | No | The existing task that matters most that day: placed first, protected, and made number 1 of the top three (the others move down one). |