toggle_habit_entry
Toggle a habit's completion status for a specific date, marking it done if incomplete or removing completion if already marked.
Instructions
Toggle a habit completion for a specific date. If already completed, removes it. If not completed, marks it done.
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>",
"date": "<date>"
},
"name": "toggle_habit_entry"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| date | Yes | Date to toggle (YYYY-MM-DD) | |
| habitId | Yes | Habit ID |