unschedule_workout
Remove one entry from the user's calendar by its schedule_id: a workout scheduled for a single date, or a run. It also leaves the user's Garmin calendar. Saved workout templates are not changed; a run is gone. Occurrences created by the weekly routine or a program are refused and can only be changed in the LiftTrack app. workout_name and date must be the entry's own, as the schedule lists them; a mismatch is refused. If the same workout stays on that date (from the weekly routine, a program, or another one off), the result reports what holds it in still_scheduled_by.
Args: schedule_id: The entry's id from the schedule. Never show it to the user. workout_name: The entry's workout name. date: YYYY-MM-DD of the entry, today or later. Past entries are kept as the user's training record.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"schedule_id": "<schedule_id>",
"workout_name": "<workout_name>",
"date": "<date>"
},
"name": "unschedule_workout"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| date | Yes | The entry's date as YYYY-MM-DD | |
| schedule_id | Yes | The entry's schedule_id, as the schedule lists it | |
| workout_name | Yes | The entry's workout name, as the schedule lists it |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| date | Yes | ||
| kind | Yes | ||
| workout_id | No | The saved workout the removed entry scheduled; absent for a run. | |
| schedule_id | Yes | ||
| workout_name | Yes | ||
| removed_count | Yes | ||
| still_scheduled_by | No |