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)。
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": {
"title": "<title>"
},
"name": "add_habit"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | ||
| icon | No | ||
| unit | No | ||
| color | No | ||
| title | Yes | ||
| target_count | No |