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

# Drive

> The files of your workspace, ready for your agents to work from

The Drive holds the files of a workspace. Your agents read and query them when you attach or mention one in a chat, so a large spreadsheet is no longer something to paste or cut into pieces.

Open it from **Drive** in the sidebar.

## Add files

Click **Upload**, or drop files anywhere on the list. The Drive takes CSV, TSV, Excel, PDF, Word and text files.

**New folder** creates a folder where you are. Click a folder to open it, and use the path at the top to go back up. **Search files** looks through the whole Drive by name.

Each file shows what it holds: the number of rows and columns of a table, the sheets of a workbook, the pages of a PDF. A very large file shows **Being prepared…** for a minute or two after it is added: your agents can work with it once that is gone.

## Look inside a file

Click a file to open it beside the list:

* a CSV, TSV or Excel file shows as a table, one tab per sheet
* a PDF shows the document itself, as you uploaded it; the **Text** tab shows the text your agents read from it, page by page
* a Word or text file shows its text

The menu at the end of each line has **Download**, **Replace**, **Rename** and **Delete**.

**Replace** swaps a file's content for a newer version of the same type. The file keeps its name and its place, so your agents and everything that points to it read the new version from then on.

## How much room you have

The bar at the top of the Drive shows the room your files take, out of what your plan includes. The **Drive** card of your **Account** page shows the same, for your current workspace. When the Drive is full, delete files you no longer need, or move to a plan with more room.

Only the files people add to the Drive are counted. Files attached in a chat, and files your agents receive by email, are not.

## Use a file in a chat

In an agent's chat, there are two ways to hand it a file:

* **Attach it.** Drag a document into the message box, or use the attach button. It is saved in your **Uploads** folder and attached to your message.
* **Mention it.** Type `@` and the first letters of a file's name, then pick it from the list. This works for any file of the Drive you can see.

The agent gets a short description of the file, then looks into it as far as your question needs: it can search a document, filter a table, and compute totals over every row.

```
@sales-2026.csv What is the total per month, and which client ordered the most?
```

Ask a second question about the same file and it carries on from where it was.

## See where an answer comes from

When an answer comes from a file, the agent names the file right after the sentence, with the rows, the sheet or the page it read. Hover the name to see the file, and click **Open in Drive** to land on that place, with the rows marked.

## Files your agents receive by email

A document sent to an agent by email (a spreadsheet, a PDF, a Word or text file) is added to the Drive, in the **Email** folder, under the agent's name. The agent works with it there, and so can you: open it, mention it with `@` in a chat, or download it.

Everyone in the workspace sees that folder.

## Use files in an app you built

An agent attached to one of your apps can answer from Drive files too, for example a product catalogue kept as a spreadsheet.

1. Put the files in a shared folder of the Drive.
2. Open the agent, go to **Settings → Drive**, and tick that folder under **Drive folders**.

From then on, when your app calls the agent, it reads the files of the folders you ticked. It reads them when it answers an email too. To update what it answers from, use **Replace** on the file: no need to touch the app.

The agent only reads these folders from an app. It cannot change them, and it never reads a private folder such as **Uploads**.

## Who sees what

Everyone in the workspace sees the files and folders of its Drive. What each person can do depends on their role in the workspace:

| Role | Open and download | Add, rename and replace | Delete |
| - | - | - | - |
| Owner or admin | Yes | Yes | Yes |
| Member | Yes | Yes | No |
| Viewer | Yes | No | No |

Your **Uploads** folder is the exception: it holds what you attached in chats, it is marked **Only you**, and nobody else sees it. You can delete what is in it yourself.

In its own chat, an agent sees the Drive as the person chatting with it does. Called from an app, it sees only the folders ticked under **Drive folders**. It cannot change or delete files in either case.

To keep an agent away from the Drive, turn off **Work with Drive files** under **Permissions → Advanced: HelloLeo tool groups**.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.