Get a website
websites_getReturns a single website by websiteId, or by its organizationSlug + websiteSlug pair when starting from a URL — provide exactly one of the two identifications. The response includes whether the caller can manage the website’s CMS schema and domains. Websites in the trash remain retrievable by id (see websites.list with status=deleted for their purge timing); slug lookups only resolve active websites, and inaccessible or deleted resources return 404.
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": "websites_get"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| websiteId | No | Website id. Provide either this or the `organizationSlug` + `websiteSlug` pair. | |
| websiteSlug | No | Website URL slug within the organization. Pair with `organizationSlug`. | |
| organizationSlug | No | URL slug of the owning organization. Pair with `websiteSlug` to look the website up by slug instead of id. |