Add course to collection
add_course_to_collectionAdds a course to the end of 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>"
},
"name": "add_course_to_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 in this workspace to append to the end of the collection. A course can appear in a collection only once. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| courseId | Yes | The course that was added or moved. | |
| collectionId | Yes | The collection the course is in. |