删除LMS活动
classin_delete_activityDelete an LMS activity from a course using course and activity IDs. The removal is permanent.
Instructions
删除LMS活动。删除后不可恢复。
参数:
courseId: 课程ID
activityId: 要删除的活动ID
返回:
成功返回操作结果
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": {
"courseId": "<courseId>",
"activityId": "<activityId>"
},
"name": "classin_delete_activity"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| courseId | Yes | 课程ID,通过创建课程接口获得 | |
| activityId | Yes | 要删除的活动ID | |
| response_format | No | 输出格式: 'markdown' 人类可读格式 或 'json' 机器可读格式 | markdown |