File or folder details
nextcloud_get_file_infoRetrieve details for a Nextcloud file or folder, including size, type, modified date, owner, permissions, sharing status, file ID, and a web link.
Instructions
Details of one file or folder: size, type, last modified, owner, permissions, favorite/shared flags, file ID and a link that opens it in the Nextcloud web interface.
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": "nextcloud_get_file_info"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | File or folder path, relative to the user's Nextcloud root, e.g. '/Documents/Offers/offer-4711.pdf' | |
| response_format | No | 'markdown' for readable output, 'json' for structured data | markdown |