Read a site's settings
get_siteReads a site's settings, state, and versions to show serving mode, password, forms, takedown, pause, served version, and plan limits.
Instructions
Reads one site's settings and state — serving mode, password, forms, scheduled takedown, folder, whether it is paused — and its versions, newest first, with the one being served marked. Also says which settings the account's plan does not include.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"site": "<site>"
},
"name": "get_site"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| site | Yes | Subdomain or site id, from list_sites. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | Its live URL. | |
| mode | Yes | How it serves its files. | |
| name | Yes | What it is called, or null. | |
| siteId | Yes | Identifier of the site. | |
| status | Yes | `active`, `paused`, or a state the platform put it in. | |
| apiProxy | Yes | Its API proxy, or null where the proxy is not available. | |
| comments | Yes | Who may comment on its pages: nobody, the people invited to comment (only while it is invite-only), or anybody signed in. Null when that could not be read. | |
| folderId | Yes | The folder it is filed in, or null at the top level. | |
| versions | Yes | Its versions, newest first. | |
| available | Yes | Which settings the account's plan includes. | |
| expiresAt | Yes | When it is scheduled to come down, or null. | |
| subdomain | Yes | Its subdomain. | |
| invitedOnly | Yes | Whether only invited people can open it, or null when that could not be read. Null does not mean public. | |
| expiryAction | Yes | What the takedown does: `pause` or `delete`, or null when none is scheduled. | |
| formsEnabled | Yes | Whether it accepts form submissions. | |
| formerSubdomains | Yes | The subdomains it used to answer on, newest first; each redirects to it. | |
| passwordProtected | Yes | Whether visitors must type a password. | |
| subdomainChangesLeft | Yes | How many more times change_subdomain may move it, or null when there is no limit. |