update_page
Modify a page on a hosted RedStudio website by passing only the fields to change; HTML, CSS, and JS are replaced when provided, and a revision is saved.
Instructions
Update a page. Only the fields you pass are changed; html, css and js are replaced wholesale when given. A revision is recorded.
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>"
},
"name": "update_page"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Numeric id | |
| js | No | JavaScript for this page/component, run after DOMContentLoaded. Stored verbatim and treated as trusted owner code. | |
| css | No | CSS scoped to this page/component | |
| html | No | Full HTML of the page/component body (no <html>/<head>; Bootstrap 4.6 classes available). Links should be relative without a leading slash, e.g. href="about-us". | |
| name | No | Internal name shown in the dashboard | |
| title | No | <title> and SEO title | |
| keywords | No | Meta keywords, comma separated | |
| og_image | No | Open Graph image URL | |
| permalink | No | URL slug, lower-case letters, digits and dashes. "home" is the homepage. | |
| description | No | ||
| is_archived | No |