update_habit
Modify existing smart habit parameters including title, schedule, duration, frequency, and settings to adapt to changing needs.
Instructions
Update an existing smart habit.
Args: lineage_id: The habit lineage ID to update title: New title (optional) ideal_time: New preferred time in "HH:MM" format (optional) duration_min_mins: New minimum duration in minutes (optional) duration_max_mins: New maximum duration in minutes (optional) enabled: Enable/disable the habit (optional) frequency: New frequency (DAILY, WEEKLY, MONTHLY, YEARLY) (optional) ideal_days: New ideal days list (optional) event_type: New event type (optional) defense_aggression: New defense aggression (optional) description: New description (optional)
Returns: Updated habit object.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lineage_id | Yes | ||
| title | No | ||
| ideal_time | No | ||
| duration_min_mins | No | ||
| duration_max_mins | No | ||
| enabled | No | ||
| frequency | No | ||
| ideal_days | No | ||
| event_type | No | ||
| defense_aggression | No | ||
| description | No |