Drive: file details
drive_get_infoRetrieve detailed metadata for a Synology Drive file or folder by path, ID, or link, including size, owner, labels, star status, sharing state, file ID, and permanent link.
Instructions
Details of one Drive file or folder: size, owner, labels, star, sharing state, file_id and permanent link.
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": "drive_get_info"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Drive path: "/mydrive/<path>" (the user's My Drive = /home/Drive in File Station), "/team-folders/<name>/<path>", "id:<file_id>" or "link:<permanent_link>" |