add_habit
Create a new habit with a title and optional daily target count (1–99), then return its ID for tracking and management.
Instructions
新建一个习惯,返回它的 id。target_count 为每日目标次数(1..99,默认 1)。
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | ||
| icon | No | ||
| unit | No | ||
| color | No | ||
| title | Yes | ||
| target_count | No |