MCP Reference
drive_file_trash
Move File to Trash
Beschreibung
Soft-deletes a file — moves it into the drive's Trash, where a Manager can restore or permanently purge it. Same behaviour as the in-app row Delete action. Content stays in Active Storage until purge.
Zugriff
Zugriffsprofil: gated. Module: files.
Die Freigabe im Profil ersetzt keine Account-, Workspace- oder Rollenberechtigung.
Parameter
| Name | Typ | Pflicht | Beschreibung |
|---|---|---|---|
account_id |
string | Ja | |
id |
string | Ja | File prefix ID (dfi_…). |
Eingabeschema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"account_id": {
"type": "string"
},
"id": {
"type": "string",
"description": "File prefix ID (dfi_…)."
}
},
"required": [
"account_id",
"id"
],
"type": "object"
}
Ausgabeschema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"id": {
"type": "string"
},
"trashed": {
"type": "boolean"
}
},
"required": [
"id",
"trashed"
],
"type": "object"
}