update_habit
Change a routine; active false pauses it without deleting.
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": {
"id": "<id>"
},
"name": "update_habit"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| kind | No | habit = recurring routine, focus = protected focus time | |
| title | No | ||
| active | No | ||
| priority | No | 1 = niedrig, 2 = normal, 3 = hoch, 4 = kritisch | |
| weekdays | No | ISO weekdays, 1 = Monday | |
| windowEnd | No | 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 | No | Earliest local start, HH:MM | |
| durationMinutes | No |