create_plan
Create custom workout plans for cycling, running, or swimming by defining intervals with specific targets like power, heart rate, or speed.
Instructions
Create a new plan in the user's library
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>",
"external_id": "<external_id>",
"provider_updated_at": "<provider_updated_at>"
},
"name": "create_plan"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| plan | Yes | Complete workout plan structure | |
| filename | No | Name of the plan file | |
| external_id | Yes | Unique external ID for the plan | |
| provider_updated_at | Yes | External date/time the file was updated (ISO 8601 format) |