get_habit_checkins
Retrieve habit check-in records for specified habits within a date range. Returns complete check-in details to analyze streaks, completion rates, and missed days.
Instructions
Get habit check-in records within a date range.
Returns complete check-in objects so you can analyze streaks, completion rates or find missed days without a second lookup.
Args: habit_ids: A single habit ID or a list of habit IDs from_date: Start date, YYYYMMDD integer (e.g. 20260401) to_date: End date, YYYYMMDD integer (e.g. 20260407)
Example: # One week of check-ins for two habits {"habit_ids": ["habit-1", "habit-2"], "from_date": 20260401, "to_date": 20260407}
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": {
"habit_ids": "<habit_ids>",
"from_date": "<from_date>",
"to_date": "<to_date>"
},
"name": "get_habit_checkins"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to_date | Yes | ||
| from_date | Yes | ||
| habit_ids | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |