> ## Documentation Index
> Fetch the complete documentation index at: https://developers.myhero.so/llms.txt
> Use this file to discover all available pages before exploring further.

# Drive create file

> Create a new file in the user's Google Drive with text content. Returns the file id and a link. HERO can only later modify files it created itself.

`drive_create_file`

Create a new file in the user's Google Drive with text content. Returns the file id and a link. HERO can only later modify files it created itself.

## Parameters

<ParamField path="name" type="string" required>
  File name including extension (e.g. 'summary.txt').
</ParamField>

<ParamField path="content" type="string" required>
  Text content of the file.
</ParamField>

<ParamField path="mimeType" type="string">
  MIME type. Default text/plain.
</ParamField>

<ParamField path="parentId" type="string">
  Optional parent folder id. Defaults to My Drive root.
</ParamField>
