@vreippainen/hevy-mcp-server
Version:
A MCP server for Hevy
26 lines (25 loc) • 1.19 kB
TypeScript
/**
* Tool functions for Hevy MCP Server
* These functions implement the business logic for all the MCP tools
*/
import { GetExercisesParams, GetWorkoutsParams, GetExerciseProgressParams } from './types/ParamTypes.js';
import { Response } from './utils/responseUtils.js';
/**
* Get workouts between start and end dates
* Returns workouts in descending order of date and limits the number returned
*/
export declare function getWorkouts({ limit, startDate, endDate, }: GetWorkoutsParams): Promise<Response>;
/**
* Get progress for specific exercises between start and end dates
* Returns progress data in descending order of date and limits the number returned
*/
export declare function getExerciseProgressByIds({ exerciseIds, limit, startDate, endDate, }: GetExerciseProgressParams): Promise<Response>;
/**
* Get comprehensive exercise data sorted by frequency of use
* Returns exercises in descending order of frequency and can filter by name
*/
export declare function getExercises({ searchTerm, excludeUnused, startDate, endDate, }: GetExercisesParams): Promise<Response>;
/**
* Get user's workout routines
*/
export declare function getRoutines(): Promise<Response>;