Submit Assignment File
submit_assignmentUpload a local file to a Ninova assignment slot. Requires confirm=true to post; otherwise returns a dry-run preview, so ask the user before confirming.
Instructions
Upload a local file to one Ninova assignment slot via the official multipart form. Requires confirm=true to actually post; without it, returns a dry-run preview only. Ask the user before confirming.
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>"
},
"name": "submit_assignment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| course | No | ||
| confirm | No | ||
| file_path | Yes | ||
| assignment | No | ||
| slot_index | No | ||
| upload_url | No | ||
| allow_replace | No | ||
| slot_description | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |