Hevy MCP

by chrisdoc
Verified

create-routine

Design and save a personalized workout routine in Hevy by specifying title, exercises, sets, and optional folder assignment. Returns the complete routine details with a unique ID for tracking.

Instructions

Create a new workout routine in your Hevy account. Requires title and at least one exercise with sets. Optionally assign to a specific folder. Returns the complete routine details upon successful creation including the newly assigned routine ID.

Input Schema

NameRequiredDescriptionDefault
exercisesYes
folderIdNo
notesNo
titleYes

Input Schema (JSON Schema)

{ "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "exercises": { "items": { "additionalProperties": false, "properties": { "exerciseTemplateId": { "minLength": 1, "type": "string" }, "notes": { "type": "string" }, "restSeconds": { "minimum": 0, "type": "integer" }, "sets": { "items": { "additionalProperties": false, "properties": { "customMetric": { "type": "number" }, "distanceMeters": { "type": "integer" }, "durationSeconds": { "type": "integer" }, "reps": { "type": "integer" }, "type": { "default": "normal", "enum": [ "warmup", "normal", "failure", "dropset" ], "type": "string" }, "weightKg": { "type": "number" } }, "type": "object" }, "type": "array" }, "supersetId": { "type": [ "number", "null" ] } }, "required": [ "exerciseTemplateId", "sets" ], "type": "object" }, "type": "array" }, "folderId": { "type": [ "number", "null" ] }, "notes": { "type": "string" }, "title": { "minLength": 1, "type": "string" } }, "required": [ "title", "exercises" ], "type": "object" }
ID: vl8qtbflvm