List recent OneDrive files
files_list_recentLists recently opened or edited files for the signed-in user, newest first, with default 25 results. Retrieve recent activity across OneDrive, SharePoint, and other drives.
Instructions
Lists files the signed-in user recently opened or edited, most recent first, with count and nextLink. Defaults to 25 items. Entries can come from other people's drives or from SharePoint; those carry remoteDriveId and remoteItemId, and their plain id will not resolve against your own drive.
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": "files_list_recent"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| top | No | Maximum number of recent items to return. Defaults to 25. |