MCP tool · File manager
find_files
Find the largest files or the most recently modified files under a hosting account, or search by name — kind=largest (by size, min_size_mb default 1) or recent…
find_files
Read-onlyIdempotent
Description
Find the largest files or the most recently modified files under a hosting account, or search by name — kind=largest (by size, min_size_mb default 1) or recent (by modification time, within_hours default 24), optionally under path (home-relative, e.g. /domains/example.se/public_html) and matching a name glob like *.php. Returns data[] of {path, sizeBytes, modifiedAt} with paths relative to the account home. Use it for "what is taking space", "what changed recently", "was anything modified after the hack".
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.
|
kind
required
|
enum |
largest sorts by size (biggest first); recent sorts by modification time (newest first). One of largest, recent.
|
path
|
string |
Where to search, relative to the account home (/ = the whole home), e.g. /domains/example.se/public_html.
|
min_size_mb
|
integer |
Only files at least this many megabytes (default 1 for largest, none for recent).
|
within_hours
|
integer |
Only files modified within the last N hours (default 24 for recent, none for largest).
|
name
|
string |
An optional filename glob such as *.php, wp-config.php or *.log — letters, digits, ._*?- only.
|
limit
|
integer |
Rows to return (1–200, default 50). truncated: true means more matched.
|