Update a website
update_siteReplace the files of a site you published with publish_site; it keeps its url. Send every file the site should have: any you leave out is removed.
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": {
"id": "<id>",
"key": "<key>",
"files": "<files>"
},
"name": "update_site"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | The link id, from the tool that made the link. | |
| key | Yes | The link's key, from the tool that made the link. | |
| files | Yes | Every file of the site. index.html is the home page; pages link to the rest by path, like "style.css". At most 100 files and 10 MB. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| url | Yes | ||
| bytes | Yes | ||
| files | Yes | ||
| expires_at | Yes | null: it never expires. |