Engagement and Nudge Tool (proactiveTools)

The proactiveTools are designed to enhance user engagement through automated triggers, streak tracking, and context-aware nudges. These tools help to motivate users and provide timely, relevant feedback.

Tool Name: proactiveTools (Note: This is a collection of tools, not a single one)

Tools within Engagement

check_engagement_triggers

  • Description: Scans the user's data for moments that require a proactive nudge (e.g., missed workout, plateau, achievement).
  • Parameters:
    • user_id (string): The ID of the user to check. Defaults to MOCK_USER_ID.

get_logging_streak

  • Description: Retrieves the user's current consecutive logging streak for any health or fitness data.
  • Parameters: None. (Note: Logic for streak calculation is a feature coming soon!)

get_contextual_nudge

  • Description: Generates a context-aware nudge based on recent user activity or inactivity.
  • Parameters: None. (Note: Logic for contextual nudge generation is a feature coming soon!)