OneDrive File Info
onedrive_file_infoReturns metadata for a file or folder in your OneDrive synced folder: size, modification date, type, and extension. The path must be under a OneDrive mount (see onedrive_root); for other folders use the file tools. Faster than listing the parent directory when you only need info about one item.
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": {
"path": "<path>"
},
"name": "onedrive_file_info"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Absolute path to the file or folder |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | ||
| path | No | ||
| size | No | ||
| type | No | file | directory | |
| created | No | ||
| modified | No | ||
| extension | No | ||
| size_human | No |