Move course in collection
move_course_in_collectionMoves a course one position earlier (-1) or later (1) in a collection.
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": {
"id": "<id>",
"courseId": "<courseId>",
"direction": "<direction>"
},
"name": "move_course_in_collection"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | The collection id, as returned by list_collections or create_collection. | |
| courseId | Yes | Id of a course that is already in this collection. | |
| direction | Yes | -1 moves the course one position earlier in the collection; 1 moves it one position later. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| courseId | Yes | The course that was added or moved. | |
| collectionId | Yes | The collection the course is in. |