log_habit
Mark a habit done (or not done) on a date, default today. done marks every session of a habit with several times a day, and done:false clears the day; to log some of them, pass sessions (how many were done that day).
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": "log_habit"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| date | No | ||
| done | No | default true | |
| sessions | No | How many of the day's sessions were done (0 to the number of times); overrides done |