修改资源信息
cloudclass_update_resourceUpdate an existing courseware resource's title, summary, tags, category, cover, or visibility without replacing its uploaded files; use it to revise metadata or sharing settings.
Instructions
Update title, summary, tags, category, cover or visibility of a resource. Does not replace the uploaded files.
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": {
"resource_id": "<resource_id>"
},
"name": "cloudclass_update_resource"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tags | No | 标签数组,例如 ["农业","地理"] | |
| cover | No | 封面配色 | |
| title | No | 资源标题,2–60 字 | |
| summary | No | 资源简介,200 字以内 | |
| category | No | 学科分类 | |
| className | No | visibility=class 时必填 | |
| visibility | No | public 公开;class 仅指定班级 | |
| resource_id | Yes | 资源 ID,例如 r_xxx |