update_habit
Modify existing habits by changing name, goal frequency, priority, active status, notes, or dates.
Instructions
Update a habit (name, goal, active status, etc.)
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": {
"habitId": "<habitId>"
},
"name": "update_habit"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | New name | |
| color | No | New hex color | |
| emoji | No | New emoji | |
| notes | No | Notes | |
| endDate | No | End date (ISO), or null to clear | |
| habitId | Yes | Habit ID | |
| isActive | No | Set active/inactive | |
| priority | No | Sort priority | |
| goalPeriod | No | New goal period | |
| goalFrequency | No | New goal frequency |