list_drives
List all accessible OneDrive and SharePoint drives. Use optional site ID, site URL, or drive type filters. Includes option to show quota details.
Instructions
List all accessible drives (OneDrive + SharePoint document libraries)
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "list_drives"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| includeQuota | No | Include quota information for each drive | |
| siteId | No | Optional SharePoint site ID to retrieve the default drive for a specific site | |
| site | No | Known SharePoint site alias or canonical URL | |
| siteUrl | No | Canonical SharePoint site URL | |
| driveType | No | Filter by drive type | all |
| limit | No | Maximum number of drives to return |