complete_assignment
Submit assignments in Canvas by providing files, text, or URL. If online submission is unavailable, mark the assignment as complete via module item completion.
Instructions
Complete or submit an assignment in Canvas.
When online submission is available and no submission payload is provided,
this tool responds with needs_input and tells the caller what is required.
If no supported submission path exists, it attempts module item completion.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "complete_assignment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| assignment_name | No | ||
| assignment_id | No | ||
| course_id | No | ||
| file_paths | No | ||
| text_submission | No | ||
| url_submission | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |