get_routines
Use this when the user asks about their saved routines ("show me my Push routine") or before changing one. Returns routines in any plan or none, each with its exercises (default_sets, the first working set's target_reps or target_duration_seconds and target_weight_kg, notes) and in_plans (plans using it, with day_of_week). Filter by routine_id or a name search, or omit both for all. Each routine carries updated_at: pass it as base_updated_at to edit_routine, which refuses the edit if the routine changed in the Reps app after you read it.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "get_routines"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| search | No | ||
| routine_id | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| routines | Yes |