GOOGLESUPER_CREATE_FILE_FROM_TEXT
Creates a new file in Google Drive from provided text content (up to 10MB), supporting various formats including automatic conversion to Google Workspace types.
This record as markdown: /tools/googlesuper/googlesuper-create-file-from-text.md
What GOOGLESUPER_CREATE_FILE_FROM_TEXT does on Google Super
AI agents use GOOGLESUPER_CREATE_FILE_FROM_TEXT to create or update resources in Google Super, usually the action step of a workflow, after the agent has gathered context. Every call changes real data in your Google Super environment.
| Parameter | Type | Required | Description |
|---|---|---|---|
file_name | string | — | Desired name for the new file on Google Drive. |
mime_type | string | — | MIME type for the new file, determining how Google Drive interprets its content. |
parent_id | string | — | ID of the parent folder in Google Drive; if omitted, the file is created in the root of 'My Drive'. Must be a valid Google Drive folder ID, not a folder name. U |
text_content | string | — | Plain text content to be written into the new file. |
Parameters from the server's own tool schema.
Why GOOGLESUPER_CREATE_FILE_FROM_TEXT is rated Medium
This tool creates new files in Google Drive, which is a reversible write operation. It does not execute arbitrary code, delete data, or involve financial transactions. The 'medium' severity reflects that an AI agent misusing this could create numerous unwanted files in a user's Drive, consuming storage and cluttering the workspace, but the operation is reversible through deletion.
From the tool's definition Tool description states 'Creates a new file in Google Drive from provided text content' — this is a creation operation that modifies the state of Google Drive by adding new files.
Attacks that exploit this kind of access
The rule that runs GOOGLESUPER_CREATE_FILE_FROM_TEXT safely
PolicyLayer is an MCP gateway: it sits between your AI agents and Google Super, and checks every tool call against a rule you set before the call runs. Nothing changes on the server itself. For GOOGLESUPER_CREATE_FILE_FROM_TEXT, this is the rule to start with:
GOOGLESUPER_CREATE_FILE_FROM_TEXT stays usable, but capped: an agent stuck in a loop can't make hundreds of changes a minute. Everything else on the server is denied unless you say otherwise.
The button opens the PolicyLayer dashboard: create your workspace, connect Google Super, apply this rule, and every GOOGLESUPER_CREATE_FILE_FROM_TEXT call is checked against it from then on.
Questions about GOOGLESUPER_CREATE_FILE_FROM_TEXT
Creates a new file in Google Drive from provided text content (up to 10MB), supporting various formats including automatic conversion to Google Workspace types. It is categorised as a Write tool in the Google Super MCP Server, which means it can create or modify data. Consider rate limits to prevent runaway writes.
GOOGLESUPER_CREATE_FILE_FROM_TEXT accepts 4 parameters: file_name, mime_type, parent_id, text_content. The full parameter table on this page comes from the server's own tool schema.
Register the Google Super MCP server in PolicyLayer and add a rule for GOOGLESUPER_CREATE_FILE_FROM_TEXT: 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.
GOOGLESUPER_CREATE_FILE_FROM_TEXT is a Write tool with medium risk. Write tools should be rate-limited to prevent accidental bulk modifications.
Yes. Add a rate_limit block to the GOOGLESUPER_CREATE_FILE_FROM_TEXT 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.
Set action: deny in the PolicyLayer policy for GOOGLESUPER_CREATE_FILE_FROM_TEXT. 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.
GOOGLESUPER_CREATE_FILE_FROM_TEXT 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.
This server
Across the catalogue