List Hosting Files
list_hosting_filesRetrieve file and directory names in a domain's Secure Static Hosting space, optionally within a subdirectory, to inspect hosted content.
Instructions
List file/directory names under an optional path in a domain's Secure Static Hosting space. Calls the Porkbun Hosting API (https://porkbun.com/llms/hosting).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | Subdirectory to list (default: root). | |
| domain | Yes | Domain whose hosting files to list. |