List files on webspace
webspace_list_filesList a directory inside a webspace as its unprivileged site user, jailed to the home directory. Returns per entry name, isDirectory, isSymlink, size, mode and mtimeMs. Read a file with webspace_read_file. For a VPS use vps_list_files.
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": {
"id": "<id>",
"path": "<path>"
},
"name": "webspace_list_files"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | The webspace ID | |
| path | Yes | Path relative to the webspace's home directory, or absolute under /home/<user>/. The web root is public_html. |