List source files
websiteSourceCode_files_listLists file identities, sizes, and line counts without contents, sorted by type then name with cursor pagination (default 20, maximum 100). Filter by name with nameGlob. Defaults to head; pass target=published or an explicit version, and pin continuation requests to the resolved response version.
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": {
"websiteId": "<websiteId>"
},
"name": "websiteSourceCode_files_list"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum files to return. Defaults to 20 and cannot exceed 100. | |
| cursor | No | Opaque cursor from the previous page. Continue with the returned resolved version to keep the listing pinned. | |
| target | No | Version alias to read: `head` (default) or `published`. | |
| version | No | Explicit source version. Takes precedence over `target`. | |
| nameGlob | No | Only list files whose name matches this glob. `*` and `?` stop at a `/` segment boundary; `**` crosses them, for example `blog/**`. | |
| websiteId | Yes |