create_habit
Create a routine: the planner places it once on each given weekday somewhere inside the window, flexibly around meetings.
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": {
"title": "<title>",
"durationMinutes": "<durationMinutes>",
"weekdays": "<weekdays>",
"windowStart": "<windowStart>",
"windowEnd": "<windowEnd>"
},
"name": "create_habit"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | No | habit = recurring routine, focus = protected focus time | |
| title | Yes | ||
| active | No | ||
| priority | No | 1 = niedrig, 2 = normal, 3 = hoch, 4 = kritisch | |
| weekdays | Yes | ISO weekdays, 1 = Monday | |
| windowEnd | Yes | Latest local end, HH:MM | |
| flexMinutes | No | How far the routine may move before or after its window on the same day when that helps the plan, e.g. lunch slightly later to keep a task in one piece; 0 (default) keeps it inside. Only set it when the user asks | |
| windowStart | Yes | Earliest local start, HH:MM | |
| durationMinutes | Yes |