bb_submit_assignment
Submits a single standard assignment file after a read-only preview and explicit confirmation, using a 10-minute preview token to verify the course, assignment, and file before writing.
Instructions
单文件标准作业提交。默认只读预览;向用户展示目标与文件并确认后,携原参数及10分钟内的preview_token设置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": {
"course": "<course>",
"assignment": "<assignment>",
"file_path": "<file_path>"
},
"name": "bb_submit_assignment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| course | Yes | ||
| comment | No | ||
| confirm | No | ||
| file_path | Yes | ||
| assignment | Yes | ||
| preview_token | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | No | ||
| data | No | ||
| error | No | ||
| message | Yes | ||
| complete | No | ||
| warnings | No | ||
| checked_at | No |