List uploaded files
wp_list_uploadsList the files in the uploads directory (wp-content/uploads) or one subfolder of it, recursively. Returns base (the listed folder) and files: paths relative to it, sorted, at most 800 (the answer does not say whether more exist); a missing subfolder is an error. AlphaBridge's own folders (ab-mcp-sessions, ab-mcp-exports, ab-mcp-undo) are skipped and refused as subdir. Raw filesystem access; administrators only (manage_options); runs only with the site's write access on. Attachments with their metadata are listed by wp_list_media. Forwarded by AlphaBridge Connect to the one site this connection reaches.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| subdir | No | Subfolder relative to the uploads directory, e.g. "2026/07". It has to exist; ".." is refused. Default: the whole uploads directory. |