编辑或发布作业
lexue_update_assignmentEdit an assignment’s fields, times, or attachments by locating it with the exact title in a course; set publish=true only when publishing is explicitly requested.
Instructions
按精确标题定位作业,编辑字段或附件。发布需要明确提供 publish=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": {
"courseId": "<courseId>",
"title": "<title>",
"changes": "<changes>"
},
"name": "lexue_update_assignment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| title | Yes | ||
| changes | Yes | ||
| courseId | Yes | 新乐学课程编号,例如 lexue_list_courses 返回的 courseId |