List files
list_filesLists the files and folders in one folder of a Pagehaus site, using the Pagehaus files API (https://pagehaus.app/help/api). path is a folder inside the site, such as "/" or "/blog".
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": {
"site": "<site>"
},
"name": "list_files"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | Folder path from the site's top, e.g. "/" or "/blog". | / |
| site | Yes | The site name. |