remove_doc_safelist
Remove a MIME type from the document upload safelist to block uploads of that file type.
Instructions
Remove a MIME type from the document upload safelist.
After removal, uploads whose Magika-detected type matches this MIME type will be rejected. Requires admin role.
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": {
"mime_type": "<mime_type>"
},
"name": "remove_doc_safelist"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mime_type | Yes | MIME type to remove, e.g. "application/pdf". |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||