Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default | 
|---|---|---|---|
| WITHINGS_CLIENT_ID | Yes | Your Withings Client ID from the developer account | |
| WITHINGS_UNIT_SYSTEM | No | Optional: Set default units (metric=kg, imperial=lb) | metric | 
| WITHINGS_USER_ATTRIB | No | Optional: Pin to specific user (0=device owner, 1+=other users) | 0 | 
| WITHINGS_ACCESS_TOKEN | Yes | Your access token obtained from OAuth authorization | |
| WITHINGS_REDIRECT_URI | No | Your redirect URI for OAuth callback | http://localhost:3000/callback | 
| WITHINGS_CLIENT_SECRET | Yes | Your Withings Client Secret from the developer account | |
| WITHINGS_REFRESH_TOKEN | Yes | Your refresh token obtained from OAuth authorization | 
Schema
Prompts
Interactive templates invoked by user choice
| Name | Description | 
|---|---|
No prompts  | |
Resources
Contextual data attached and managed by the client
| Name | Description | 
|---|---|
No resources  | |
Tools
Functions exposed to the LLM to take actions
| Name | Description | 
|---|---|
No tools  | |