MCP Reference
drive_folder_trash
Move Folder to Trash
Beschreibung
Soft-deletes a folder and its entire subtree (all descendant folders + files). Restore via the in-app Trash tab.
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 | Folder prefix ID (dfo_…). |
Eingabeschema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"account_id": {
"type": "string"
},
"id": {
"type": "string",
"description": "Folder prefix ID (dfo_…)."
}
},
"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"
}