whoop-get-user-body-measurements
Retrieve user body measurements including height, weight, and maximum heart rate from WHOOP fitness data to track physical metrics and health parameters.
Instructions
Get body measurements (height, weight, max heart rate) for the authenticated user
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- src/mcp-server.ts:44-51 (registration)Tool registration including name, description, and input schema (empty object).name: 'whoop-get-user-body-measurements', description: 'Get body measurements (height, weight, max heart rate) for the authenticated user', inputSchema: { type: 'object', properties: {}, required: [], }, },
- src/mcp-server.ts:313-323 (handler)MCP server handler for the tool: calls WhoopApiClient.getUserBodyMeasurements() and returns the result as formatted JSON text.case 'whoop-get-user-body-measurements': { const result = await this.whoopClient.getUserBodyMeasurements(); return { content: [ { type: 'text', text: JSON.stringify(result, null, 2), }, ], }; }
- src/whoop-api.ts:49-52 (handler)Core implementation: Makes a GET request to Whoop API endpoint '/user/measurement/body' and returns the body measurements data.async getUserBodyMeasurements(): Promise<WhoopBodyMeasurements> { const response = await this.client.get('/user/measurement/body'); return response.data; }