Save a habit
save_habitCreate or update a goal-linked tiny habit with anchor, rhythm, barrier fix, if-then plans, and environment change; adjust status to shrink, pause, graduate, or drop, with capacity warnings.
Instructions
Create or update a tiny habit for a goal: a recipe ("After I [anchor], I will [tiny]"), its rhythm, the COM-B barrier and fix, if-then plans for obstacles and one environment change. Also use it to shrink, pause, graduate or drop a habit (status). Warns when active habits exceed what capacity allows.
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": {
"goalId": "<goalId>"
},
"name": "save_habit"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | Pass to update an existing habit | |
| fix | No | ||
| full | No | ||
| tiny | No | What they will do, starting with a verb, small enough to take under two minutes, e.g. "do one hip stretch" | |
| anchor | No | The existing routine it follows, e.g. "After I make my morning coffee" | |
| goalId | Yes | ||
| ifThen | No | ||
| rhythm | No | ||
| status | No | ||
| barrier | No | ||
| behaviour | No | ||
| environment | No |