编辑LMS单元
classin_update_unitUpdate LMS learning unit details by specifying unit ID and optionally changing its name, description, or publication status.
Instructions
编辑LMS学习单元信息。
参数:
unitId: 单元ID
name: 新的单元名称(可选)
content: 新的单元介绍(可选)
publishFlag: 新的发布状态(可选)
返回:
成功返回操作结果
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": {
"unitId": "<unitId>"
},
"name": "classin_update_unit"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | 新的单元名称 | |
| unitId | Yes | 单元ID | |
| content | No | 新的单元介绍 | |
| publishFlag | No | 发布状态: 0=草稿, 2=已发布 | |
| response_format | No | 输出格式: 'markdown' 人类可读格式 或 'json' 机器可读格式 | markdown |