list-sites
Lists content sites registered on a Sitecore CM with their paths, database, hostname, and root item details; filters out infrastructure sites unless includeSystemSites is enabled.
Instructions
Lists the content sites registered on this CM: name, root path, start (home) path, database, hostname and the root item's ID and template. Sitecore's own infrastructure sites (shell, login, service, ...) are filtered out; pass includeSystemSites to see everything Sitecore has registered. Note that 'website' is reported — on XM/XP it is the content site, and on a SitecoreAI CM it shows up rooted at /sitecore/content alongside the real content sites.
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": "list-sites"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| includeSystemSites | No | Include Sitecore's infrastructure sites (shell, login, admin, service, scheduler, ...). Off by default. |