update_resource_sort
Update the sorting order of resources in a course group by providing the group ID and an ordered list of resource IDs.
Instructions
更新课程组内资源的排序
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": {
"group_id": "<group_id>",
"sorted_ids": "<sorted_ids>"
},
"name": "update_resource_sort"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| group_id | Yes | 课程组id(通过 query_teacher_groups 获取) | |
| sorted_ids | Yes | 按所需顺序排列的资源id列表 |