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

# List Drives

> List the document libraries (drives) of a SharePoint site or the user's OneDrive

List the document libraries (drives) of a SharePoint site or the user's OneDrive

| | |
| - | - |
| **App** | Microsoft SharePoint |
| **Operation ID** | `sharepoint_list_drives` |
| **Type** | Action |
| **Connection** | `sharepoint` (required) |
| **Credits per run** | 1 |
| **Agent / MCP tool** | Yes |

## Inputs

| Field | Type | Required | Default | Description |
| - | - | - | - | - |
| `site` | string or SelectItem | Yes | - | The site to list document libraries for: a site id from list\_sites, 'me' for the user's own OneDrive, or a pasted SharePoint site link like `https://tenant.sharepoint.com/sites/Markifact.` |

### SelectItem

| Field | Type | Required | Default | Description |
| - | - | - | - | - |
| `value` | string | Yes | - | The value of the selectable item. |
| `label` | string | Yes | - | The label of the selectable item, used for display purposes. If not provided, defaults to the value. |

## Output

**Type**: `List[Dict]`

Returns the site's document libraries. Use drive\_id with the file nodes.

**Fields**: `drive_id`, `name`, `drive_type`, `url`


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