naftiko: 1.0.0-alpha2 info: label: WHOOP API — Workout description: WHOOP Workouts (v2). List workouts and get a workout by UUID with sport, Strain, and HR zones. tags: - WHOOP - Workout - Strain created: '2026-05-25' modified: '2026-05-25' binds: - namespace: env keys: WHOOP_ACCESS_TOKEN: WHOOP_ACCESS_TOKEN capability: consumes: - type: http namespace: whoop-workout baseUri: https://api.prod.whoop.com/developer description: WHOOP Workout business capability — auto-detected and member-logged workouts with Strain and HR-zone analytics. resources: - name: v2-activity-workout path: /v2/activity/workout operations: - name: listworkouts method: GET description: List WHOOP Workouts. outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: limit in: query type: integer - name: start in: query type: string - name: end in: query type: string - name: nextToken in: query type: string - name: v2-activity-workout-by-id path: /v2/activity/workout/{workoutId} operations: - name: getworkout method: GET description: Get a Workout by UUID. outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: workoutId in: path type: string required: true authentication: type: bearer value: '{{env.WHOOP_ACCESS_TOKEN}}' placement: header exposes: - type: rest namespace: whoop-workout-rest port: 8080 description: REST adapter for WHOOP Workout. resources: - path: /v1/v2/activity/workout name: v2-activity-workout operations: - method: GET name: listworkouts call: whoop-workout.listworkouts outputParameters: - type: object mapping: $. - type: mcp namespace: whoop-workout-mcp port: 9090 transport: http description: MCP adapter for WHOOP Workout. tools: - name: whoop-list-workouts description: List WHOOP Workouts. hints: readOnly: true destructive: false idempotent: true call: whoop-workout.listworkouts outputParameters: - type: object mapping: $. - name: whoop-get-workout description: Get a WHOOP Workout by UUID. hints: readOnly: true destructive: false idempotent: true call: whoop-workout.getworkout with: workoutId: tools.workoutId outputParameters: - type: object mapping: $.