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

# List Document Libraries

`sharepoint_list_drives`

Lists all document libraries (drives) within a given SharePoint site. Returns the drive IDs you need to browse files and folders with `sharepoint_list_folder` or `sharepoint_get_drive`.

## Parameters

| Parameter         | Type   | Required | Description                                               |
| ----------------- | ------ | -------- | --------------------------------------------------------- |
| `site_id`         | string | Yes      | ID of the site whose document libraries you want to list. |
| `response_format` | string | No       | Output format: `"markdown"` (default) or `"json"`.        |

## Returns

An object containing a `drives` array, a `count`, and the `site_id`. Each drive entry includes its `id`, `name`, `driveType`, and `webUrl`.

## Example use

> "List all document libraries in the Finance SharePoint site."
