Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| WITHINGS_CLIENT_ID | Yes | Your Withings API Client ID from the Developer Dashboard | |
| WITHINGS_ACCESS_TOKEN | Yes | Your Withings OAuth2 access token (generated during authentication) | |
| WITHINGS_REDIRECT_URI | No | The redirect URI configured in your Withings application | http://localhost:8080/callback |
| WITHINGS_CLIENT_SECRET | Yes | Your Withings API Client Secret from the Developer Dashboard | |
| WITHINGS_REFRESH_TOKEN | Yes | Your Withings OAuth2 refresh token (generated during authentication) |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| get_user_info | Get user information from Withings account |
| get_measurements | Get body measurements (weight, fat mass, muscle mass, etc.) |
| get_activity | Get daily activity data (steps, calories, distance, elevation) |
| get_sleep_summary | Get sleep summary data (duration, deep sleep, REM, wake up count, etc.) |
| get_sleep_details | Get detailed sleep data with all sleep phases |
| get_workouts | Get workout/training sessions data |
| get_heart_rate | Get heart rate measurements over a time period |
| get_authorization_url | Get OAuth2 authorization URL to authenticate with Withings |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |