> ## 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.

# Get Drive Details

> Returns metadata for a specific document library by its drive ID, including storage quota.

`sharepoint_get_drive`

Returns metadata for a specific document library by its drive ID, including name, type, web URL, and storage quota.

## Parameters

| Parameter | Type | Required | Description |
| - | - | - | - |
| `drive_id` | string | Yes | The drive (document library) ID. |
| `response_format` | string | No | Output format: `"markdown"` (default) or `"json"`. |

## Returns

A drive object with `id`, `name`, `driveType`, `webUrl`, and `quota` (containing `total`, `used`, and `remaining` in bytes).

## Example use

> "How much storage is left in drive ID `b!abc123`?"


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