Get Nextcloud file info
get_file_infoRead metadata for one file or folder in your connected Nextcloud workspace root. Supply a relative path to inspect item details within your private storage.
Instructions
Read one item's metadata inside the user's connected private Nextcloud workspace root.
The relative path cannot select another account, host, or public internet resource.
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 |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| etag | No | ||
| name | Yes | ||
| path | Yes | ||
| size | No | ||
| is_dir | Yes | ||
| content_type | No | ||
| last_modified | No |