update_plan_run
Modify a specific workout in a training plan by week and day, updating only the provided fields while preserving all others.
Instructions
Modify a single workout within a week. Surgical edit — only the
specified fields are changed, everything else is preserved.
Args:
plan_id: The plan ID.
week_number: Which week (1-indexed).
day_of_week: Day name (e.g. "Tuesday", "Sunday").
updates_json: JSON string of fields to update.
Example: {"type": "easy", "distance_km": 10, "description": "Recovery run"}
Returns:
Confirmation message.
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": {
"plan_id": "<plan_id>",
"week_number": "<week_number>",
"day_of_week": "<day_of_week>",
"updates_json": "<updates_json>"
},
"name": "update_plan_run"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| plan_id | Yes | ||
| day_of_week | Yes | ||
| week_number | Yes | ||
| updates_json | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |