GOOGLESUPER_EMPTY_TRASH

Tool to permanently delete all of the user's trashed files. Use when you want to empty the trash in Google Drive. This action allows you to permanently remove all files that are currently in the trash of Google Drive. It can be applied to files in both the user's root trash and shared drives, ens...

SERVERGoogle Super SOURCEgooglesuper
Critical RISK CLASS
Category Destructive
Parameters 20 required
Recommended Hiddensee the rule below
Registry record Grade F, identity unverified Pull the record →

This record as markdown: /tools/googlesuper/googlesuper-empty-trash.md

What GOOGLESUPER_EMPTY_TRASH does on Google Super

AI agents call GOOGLESUPER_EMPTY_TRASH to permanently remove resources in Google Super, typically in cleanup and lifecycle workflows. It does its job in a single call, and there is no undo.

ParameterTypeRequiredDescription
driveId string If set, empties the trash of the provided shared drive. This parameter is ignored if the item is not in a shared drive.
enforceSingleParent boolean Deprecated: If an item is not in a shared drive and its last parent is deleted but the item itself is not, the item will be placed under its owner's root. This

Parameters from the server's own tool schema.

Why GOOGLESUPER_EMPTY_TRASH is rated Critical

This tool irreversibly deletes data at scale (all trashed files across root trash and shared drives). Once executed, deleted files cannot be recovered through normal means. The blast radius is significant as it can destroy multiple files in a single operation. This is unambiguously a Destructive action, more severe than Write or Execute.

From the tool's definition Tool description explicitly states: 'permanently delete all of the user's trashed files' and 'permanently remove all files that are currently in the trash'. The use of 'permanently' twice and 'empty the trash' clearly indicate irreversible deletion.

Risk signalsBulk/mass operation — affects multiple targets · Admin/system-level operation

Questions about GOOGLESUPER_EMPTY_TRASH

What does the GOOGLESUPER_EMPTY_TRASH tool do? +

Tool to permanently delete all of the user's trashed files. Use when you want to empty the trash in Google Drive. This action allows you to permanently remove all files that are currently in the trash of Google Drive. It can be applied to files in both the user's root trash and shared drives, ensuring a complete removal of unwanted files. It is categorised as a Destructive tool in the Google Super MCP Server, which means it can permanently delete or destroy data. Block by default and require explicit approval.

What parameters does GOOGLESUPER_EMPTY_TRASH accept? +

GOOGLESUPER_EMPTY_TRASH accepts 2 parameters: driveId, enforceSingleParent. The full parameter table on this page comes from the server's own tool schema.

How do I enforce a policy on GOOGLESUPER_EMPTY_TRASH? +

Register the Google Super MCP server in PolicyLayer and add a rule for GOOGLESUPER_EMPTY_TRASH: allow, deny, rate-limit, or require approval. Point your MCP client at the PolicyLayer proxy URL and the rule is enforced on every call, before it reaches Google Super. Nothing to install.

What risk level is GOOGLESUPER_EMPTY_TRASH? +

GOOGLESUPER_EMPTY_TRASH is a Destructive tool with critical risk. Critical-risk tools should be blocked by default and only enabled with explicit human approval.

Can I rate-limit GOOGLESUPER_EMPTY_TRASH? +

Yes. Add a rate_limit block to the GOOGLESUPER_EMPTY_TRASH rule in your PolicyLayer policy. For example, setting max: 10 and window: 60 limits the tool to 10 calls per minute. Rate limits are tracked per agent session and reset automatically.

How do I block GOOGLESUPER_EMPTY_TRASH completely? +

Set action: deny in the PolicyLayer policy for GOOGLESUPER_EMPTY_TRASH. The AI agent will receive a policy violation error and cannot call the tool. You can also include a reason field to explain why the tool is blocked.

What MCP server provides GOOGLESUPER_EMPTY_TRASH? +

GOOGLESUPER_EMPTY_TRASH is provided by the Google Super MCP server (googlesuper). PolicyLayer sits as a proxy in front of this server to enforce policies before tool calls reach the server.

More on Google Super, and thousands of servers like it.

// THE MCP REGISTRY

PolicyLayer tracks 44,603 MCP servers and 515,000+ tools.

Every server has a live record: who publishes it, whether it answers without auth, its risk grade, every tool classified, the recommended policy. This page is one line of Google Super's. Pull the full record:

Teams ship this data inside their own products. See what a licence covers →

// GET IN TOUCH

Have a question or want to learn more? Send us a message.

Message sent.

We'll get back to you soon.