List websites
list_sitesList the multi-page websites in the workspace, including each site's pages and live custom domain (if connected).
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 |
|---|---|---|---|
| workspace_id | No | Which workspace to act in. Only meaningful when this connection can access more than one workspace: omit it and you get an error listing the available workspace ids (also available from list_sites) to choose from. On a single-workspace connection, omit it or pass that workspace's own id; a different id is rejected. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| count | Yes | Number of sites returned. | |
| sites | Yes |