Skip to main content
Delete a file or folder from a connected external storage provider. This action is permanent for most providers. Use list_external_files to find file IDs.

Tool details

FieldValue
Namedelete_external_file
GroupExternal Storage

Playground

Input schema

Input schema
{
  "type": "object",
  "properties": {
    "project_reference": {
      "type": "string",
      "description": "Project ID or slug"
    },
    "provider": {
      "type": "string",
      "description": "Cloud provider name"
    },
    "file_id": {
      "type": "string",
      "description": "File or folder ID to delete"
    }
  },
  "required": [
    "project_reference",
    "provider",
    "file_id"
  ],
  "additionalProperties": false,
  "description": "Input schema for the delete_external_file tool.",
  "$schema": "http://json-schema.org/draft-07/schema#"
}

Output schema

Output schema
{
  "type": "object",
  "properties": {
    "message": {
      "type": "string",
      "description": "Agent-readable status message or rendered content for the external storage operation."
    }
  },
  "required": [
    "message"
  ],
  "additionalProperties": false,
  "description": "Structured result returned by the delete_external_file tool.",
  "$schema": "http://json-schema.org/draft-07/schema#"
}