graph_drive
List files in a OneDrive or SharePoint drive by specifying the drive ID and optional path. Retrieve directory contents directly through Microsoft Graph.
Instructions
List files in a OneDrive or SharePoint drive via Microsoft Graph.
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": {
"drive_id": "<drive_id>"
},
"name": "graph_drive"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | ||
| drive_id | Yes |