tududi_update_habit
Modify a habit's settings—name, schedule, targets, reminders, polarity, priority, color—and archive or unarchive it by UID.
Instructions
Update habit settings and/or archive state
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": "tududi_update_habit"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Habit UID | |
| name | No | New habit name | |
| unit | No | Optional measurement unit (e.g. ml, pages, mins) | |
| color | No | Hex color (#rrggbb) | |
| archived | No | Archive (true) or unarchive (false) the habit | |
| polarity | No | Whether to build or quit this habit | |
| priority | No | Priority level | |
| timeOfDay | No | Preferred time of day | |
| description | No | Habit notes or instructions | |
| targetCount | No | Target completions per period (1-1000) | |
| targetValue | No | Optional numeric measurement target (e.g. 2000) | |
| intervalDays | No | Interval in days (>= 2) for custom schedules | |
| reminderTime | No | Reminder time in HH:mm format | |
| scheduleDays | No | Scheduled days of week (0-6) | |
| frequencyPeriod | No | Tracking period for target count |