Client area

MCP tool · File manager

list_files

List the files and directories in one folder of a hosting account.

list_files
R Read
Scope read:files
Read-onlyIdempotent

Description

List the files and directories in one folder of a hosting account. Returns each entry as {name, type, size, modifiedAt} where type is dir or file. path is relative to the account home (/ is the home; /domains/example.com/public_html is a site's document root) and defaults to /. This is a plain directory listing — to read a file's content use read_file; for the largest directories by size use get_disk_usage; to change a file use manage_files; to remove one use delete_files.

Input

Name Type Description
input required string A domain, email address, website URL, numeric service id, or hosting-account username the customer actually owns. Resolved to the owning account automatically; the resolved target is echoed back in the response.
path string The folder to list, relative to the account home (e.g. /domains/example.com/public_html).
Esc
navigate open Esc close