Students
Delete an unsubmitted file of your group
delete_group_project_file
- Destructive
- Needs confirmation
Deletes one file this student’s group uploaded to the step that is open now, before that step is submitted — to replace a wrong upload, say, which is then uploaded again in the panel or the app. A file of a submitted step cannot be deleted. It cannot be restored. The person themselves has to confirm it, so a client that cannot ask them gets a panel link and nothing is done.
- For
- Students
- Needs
- Read and write access (
mcp:write) - What it changes
- Destructive. It cannot be undone, so your own app has to ask you first. An app that cannot ask you is refused, and the tool answers with a link to do it in your panel instead.
- Repeating it
- Not safe: the same call twice can change data twice.
Inputs
brandstringWhich olympiad this is about. Required unless the connection covers exactly one, in which case that one is used.
one of
codinggmathhilinguaneostemfile_idstringrequiredThe file_id from get_my_group_project.
pattern
^[a-f0-9]{24}$min length24max length24confirmationstringThe
confirmationvalue from this tool’s ownconfirmation_requiredanswer. Send it back with exactly the same other arguments to go ahead; never invent one.pattern
^cfm_[A-Za-z0-9._-]{1,4000}$min length5max length4096
The server refuses a call that carries any field not listed here, and says which one.
Answers instead of a result
What the tool says when it cannot do what was asked, and what to do about it.
not_connectedinsufficient_scoperate_limitedwrites_disabledtemporarily_unavailableupstream_errorbrand_not_allowedrole_requiredtenant_account_missingnot_foundconfirmation_expiredwindow_closedgroup_lockedstep_not_open