list-files
Lists entries under a local or remote absolute folder with kind, byte size, and timestamp without hashing, optionally including all subfolders.
Instructions
dbabrain common.cli list-files: Every entry under a folder - kind, bytes, time - without hashing (0.37.0).
Request fields (pass them as request):
host: Where the folder is: {runtime (windows | linux | docker | k8s), access (ssh | winrm), host, port, username, password | key_file, container, sudo}; left out, this machine.
folder (required): The absolute folder to list; not there is folder_found false.
max_files: The most entries answered; more is truncated, never cut silently.
timeout_seconds: Seconds the listing may take on the host.
with_folders: True also answers every folder under the folder, as
folders(0.38.0) - what a staging cleanup names an emptied backup set's folders from.
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-files"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| request | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |