get_file_info
Retrieve metadata for a shared Nextcloud file or folder—such as type, size, modification date, and permissions—without downloading its content.
Instructions
Levuvo Nextcloud MCP v0.5.3 - Get file info. Get the metadata of one shared file or folder without downloading its content. Prefer this over read_file when only type, size, modification date or permissions are needed. Parameters: path (required) - a configured share or an entry below a shared folder. Returns: path, name, is_dir, size_bytes, content_type, modified, etag, permissions (Nextcloud permission letters of the technical account). Read-only. Errors: a path that is not shared or explicitly excluded fails with 'The path is not released for the MCP agent.'; malformed paths (leading '/', '..', URL-encoded characters) are rejected; a missing entry fails with 'File or folder not found.'; Nextcloud authentication, network or server problems are reported as errors.
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": "get_file_info"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Relative Nextcloud path, e.g. 'Projects/Plan.md': no leading '/', segments separated by '/', not URL-encoded, max. 1024 characters. Must be a configured share or lie below a shared folder. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||