move_resource
Relocate a course resource to a different parent folder within a group. Provide the resource node ID, current parent ID, and target parent ID.
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>",
"node_id": "<node_id>",
"from_parent_id": "<from_parent_id>",
"parent_id": "<parent_id>"
},
"name": "move_resource"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| node_id | Yes | 资源节点id(通过 query_course_resources 获取) | |
| group_id | Yes | 课程组id(通过 query_teacher_groups 获取) | |
| parent_id | Yes | 目标父文件夹id | |
| from_parent_id | Yes | 当前父文件夹id |