share_upload_material
Upload local files to create shared course materials with metadata, optional points, and anonymous or named submission.
Instructions
上传本地文件并创建资料:申请票据、上传对象存储、提交元数据。最大 100 MB,价格 0–10,默认匿名且免费。confirm=true 执行。
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": {
"file_path": "<file_path>",
"course_id": "<course_id>",
"class_id": "<class_id>",
"material_type_id": "<material_type_id>",
"name": "<name>"
},
"name": "share_upload_material"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| points | No | ||
| confirm | No | 确认用户已授权此次操作后设为 true | |
| class_id | Yes | 平台对象 ID,正整数 | |
| anonymous | No | ||
| course_id | Yes | 平台对象 ID,正整数 | |
| file_path | Yes | ||
| description | No | ||
| material_type_id | Yes | 平台对象 ID,正整数 |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||