moodle_remove_submission
Remove an assignment submission to undo an accidental upload; this action is irreversible and requires explicit confirmation.
Instructions
Remove your submission for an assignment. IRREVERSIBLE.
Use this to undo an accidental submission. Requires explicit user confirmation (confirm=true).
Args: cmid: course-module id of the assignment. confirm: must be 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": {
"cmid": "<cmid>"
},
"name": "moodle_remove_submission"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cmid | Yes | ||
| confirm | No |