push_plan
Validate and save an athlete's workout plan, then schedule it on the Apple Watch for the chosen date and time.
Instructions
Validates a session (sport one of run, indoor_run, walk, hike, cycle, indoor_cycle, pool_swim, open_water_swim, indoor_row, hiit, elliptical; labels under 40 characters, zones 1 to 5, positive goals) and writes it to plans/. Set scheduled_for to the day and time the athlete will do it: the app schedules it on the Watch for that time (one tap in the Import tab, or automatically when the athlete switched that on). Ask the athlete before you write one.
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": "<plan>"
},
"name": "push_plan"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| plan | Yes |