List directory
list_directoryBrowse the immediate children of a folder in the signed-in user's Nextcloud files by relative path, with an optional limit.
Instructions
List the immediate children of a folder in the signed-in user's Nextcloud files. Not recursive. path is relative to the files root.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "list_directory"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | Folder path relative to the Nextcloud files root. Omit or pass an empty string for the root. | |
| limit | No | Maximum entries to return. Default 200. |