outlook_list_sharepoint_files
List files in SharePoint sites or OneDrive folders using an authenticated Microsoft session. Filter by site, drive, or folder and sort by name, modified date, size, or creation date.
Instructions
List files in SharePoint sites or OneDrive folders using the same authenticated session
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": "outlook_list_sharepoint_files"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum number of files to return | |
| siteId | No | SharePoint site ID (optional) | |
| driveId | No | Drive ID (defaults to user's OneDrive if not specified) | |
| orderBy | No | Field to order results by | name |
| folderId | No | Specific folder ID to list contents of |