List site or preview files
get_site_filesList the files currently on a site (siteId) or a preview (previewId) — pass exactly one.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "get_site_files"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| siteId | No | ||
| previewId | No | Preview id, to list a preview instead of a site |