get-drive-item
get-drive-itemRetrieve metadata for a specific file or folder in Microsoft 365 using drive ID and item ID, including the download URL for files.
Instructions
Get file/folder metadata (includes @microsoft.graph.downloadUrl for files).
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": {
"driveId": "<driveId>",
"itemId": "<itemId>"
},
"name": "get-drive-item"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| itemId | Yes | Value for itemId | |
| driveId | Yes | Value for driveId |