veryfront__delete_external_file

Delete external file. Requires project.integrations.connect; API keys also need delete scope.

Risk: mutating.

Arguments

NameTypeRequiredDescription
project_referencestringProject ID or slug. Requires project.integrations.connect through the caller's own personal provider connection.
providerstringYesStorage provider accessed through the caller's own personal connection. A shared project connection is not used.
file_idstringYesFile or folder ID from list_external_files. OneDrive and SharePoint move the item to the recycle bin (status trashed); Google Drive permanently deletes it (status deleted).
confirmbooleanYesMust be true: this call replaces or deletes provider data. false refuses the call.

Call it

JSON
{  "jsonrpc": "2.0",  "id": 1,  "method": "tools/call",  "params": {    "name": "veryfront__delete_external_file",    "arguments": {      "provider": "<provider>",      "file_id": "<file_id>",      "confirm": "<confirm>"    }  }}