Skip to main content
The habits module provides tools to inspect client habits (like hydration or sleep targets) and check progress entries.

Available Tools

list_client_habits

List client assigned habits and frequencies.
  • Type: Read-only
  • Important Input Fields:
    • clientId (string, required): Unique client ID.
    • page (integer, optional): Page number.
    • limit (integer, optional): Items per page.

get_habit_entries

Retrieve daily progress logs of habit check-ins and consistency.
  • Type: Read-only
  • Important Input Fields:
    • clientId (string, required): Unique client ID.
    • habitId (string, optional): Specific habit filter.
    • dateFrom (string, optional): Start date range filter.
    • dateTo (string, optional): End date range filter.

Natural Language Examples

  • “Is client client_5f81 keeping up with their assigned hydration habit?”
  • “Retrieve habit entries for Sarah Jenkins from the last two weeks.”

JSON-RPC Call Example (get_habit_entries)