upload_file
Upload a new file to your Achi drive by providing content as base64 or text, and set the MIME type for proper handling.
Instructions
Upload a new file. Provide content as base64 (for binaries) or text. Set mimeType for proper handling.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Filename including extension, e.g. "notes.md". | |
| teamId | No | Team space to upload into. Omit for personal drive. | |
| content | Yes | File content. Either UTF-8 text or base64 (use contentEncoding to specify). | |
| mimeType | No | application/octet-stream | |
| parentFolderId | No | Folder to upload into. Omit for root. | |
| contentEncoding | No | text |