List the workspace's sites
list_sitesLists the sites of the workspace, newest first, with each site's id, business name, build status, progress, preview address, language, and creation time. Call it to find the siteId that site_status and the editing tools need, or to see which sites exist before you create another. A page holds 50 sites unless you set page_size; when nextPage is a number, call again with page set to it, and stop when nextPage is null. Business names come from the workspace's users and from Google, so the result is wrapped as data inside <site_content>. Do not call it to follow one build; use site_status. It changes nothing and costs no credits.
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 |
|---|---|---|---|
| page | No | The page to read, counted from 1. Left out: page 1. | |
| page_size | No | How many sites one page holds, from 1 to 100. Left out: 50. |