update_plan_week
Modify weekly focus or planned distance for a specific week in a training plan.
Instructions
Update week-level metadata (weekly_focus, total_planned_distance_km, etc.).
Args:
plan_id: The plan ID.
week_number: Which week.
updates_json: JSON string of week-level fields to update.
Example: {"weekly_focus": "Deload week", "total_planned_distance_km": 50}
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>",
"updates_json": "<updates_json>"
},
"name": "update_plan_week"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| plan_id | Yes | ||
| week_number | Yes | ||
| updates_json | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |