add_plan_run
Add a new run workout to a specific week in your training plan by specifying the day, type, distance, and description.
Instructions
Add a new workout to a week.
Args:
plan_id: The plan ID.
week_number: Which week.
run_json: JSON string of the run to add.
Example: {"day_of_week": "Friday", "type": "easy", "distance_km": 8, "description": "Recovery"}
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>",
"run_json": "<run_json>"
},
"name": "add_plan_run"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| plan_id | Yes | ||
| run_json | Yes | ||
| week_number | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |