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).
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"domain": "<domain>"
},
"name": "list_hosting_files"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | Subdirectory to list (default: root). | |
| domain | Yes | Domain whose hosting files to list. |