Read site
read_siteOpen a site published before, in this chat or another: its live versionId, files, and the text of its HTML, CSS and JS, in pages. list_sites lists the account's sites; a temporary site needs its claimToken. Call this before edit_site.
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": {
"slug": "<slug>"
},
"name": "read_site"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | Read one file, such as index.html. | |
| slug | Yes | Slug or link. | |
| offset | No | Where to go on in path, from a previous read. | |
| search | No | Find this text instead of reading; returns each match with its offset. | |
| maxChars | No | ||
| claimToken | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| slug | Yes | ||
| files | Yes | ||
| search | No | ||
| content | No | ||
| siteUrl | Yes | ||
| remaining | No | ||
| versionId | Yes |