update_habit
Modify a habit's title, target count, unit, icon, or color while leaving omitted fields and today's progress unchanged.
Instructions
改一个习惯的标题/目标次数/单位/图标/颜色;没传的字段保持原样,今日计数不受影响。
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": {
"id": "<id>"
},
"name": "update_habit"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| icon | No | ||
| unit | No | ||
| color | No | ||
| title | No | ||
| target_count | No |