Reorder the weeks of a program
reorder_program_weeksPuts the weeks of a program in the order given (every week id of the program, first to last).
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": {
"programId": "<programId>",
"week_ids": "<week_ids>"
},
"name": "reorder_program_weeks"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| week_ids | Yes | Week ids from get_program, in the new order. | |
| programId | Yes | Id from list_programs. |