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

# Documents

> Reference for viewing folders and document uploads.

The `documents` module provides tools to view client document vaults, directories, and file uploads.

| Key                  | Value               |
| :------------------- | :------------------ |
| **Module Key**       | `documents`         |
| **Sensitivity**      | `health`            |
| **Consent Required** | `healthDataConsent` |

***

## Available Tools

### `list_folders`

List folders defined in the client's file vault.

* **Type:** Read-only
* **Important Input Fields:**
  * `clientId` (string, required): Unique client ID.

### `list_documents`

List documents and files uploaded by or for the client.

* **Type:** Read-only
* **Important Input Fields:**
  * `clientId` (string, required): Unique client ID.
  * `folderId` (string, optional): Filter by folder directory.

***

## Natural Language Examples

* *"Check if client client\_8821 has uploaded any medical release files."*
* *"List folders in the document vault of client client\_123."*

***

## JSON-RPC Call Example (`list_documents`)

```json theme={null}
{
  "jsonrpc": "2.0",
  "id": "doc-1",
  "method": "tools/call",
  "params": {
    "name": "list_documents",
    "arguments": {
      "clientId": "client_abc123"
    }
  }
}
```
