graph_list_site_drives
List the document libraries of a SharePoint site by site ID, with paging, to locate and access files stored in that site.
Instructions
List the document libraries of a SharePoint site.
Args: site_id: The SharePoint site ID (from graph_search_sites). skip: Number of items to skip before returning results (default 0). Graph returns at most 50 per call, so page by raising skip in steps of top. next_link: Opaque nextLink URL from a previous call, used to fetch the next page. Overrides the other paging arguments when supplied. include_next_link: Whether to wrap the result as {items, next_link} so paging can continue (default false, which returns a bare list).
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"site_id": "<site_id>"
},
"name": "graph_list_site_drives"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| skip | No | ||
| site_id | Yes | ||
| next_link | No | ||
| include_next_link | No |