List websites
list_websitesUse first when the user says "update our website". Lists the websites of the workspace that you may edit: the host, the site_id, the status (live; offline, taken down with set_link_status; waiting_for_dns, the domain does not answer yet; plan_lapsed, the plan no longer includes custom domains so the domain answers "not available" until the plan is upgraded), the live version, the version waiting as a preview (if any, with who saved it and when, and stale: true when the live website changed after it was made), whether search engines may list it, its redirect addresses and its editors. A website you may not edit is not shown, and is not a reason to make a new one. To change a page, follow the steps in the update_site description.
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_websites"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| workspace_id | No | Optional: the workspace to act in, from list_workspaces (the connection reaches the person's personal space and every workspace they are a member of). Required on a write when the connection reaches more than one workspace. Omit to act in the personal space (for an older single-workspace connection, the one workspace it was authorized for). |