web_add_page
Create a new HTML page in your Site Studio working copy from a minimal valid document. Provide path, title, and current revision; stale revisions are rejected until you read again.
Instructions
Add a new HTML page to the working copy from a minimal valid document.
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": {
"path": "<path>",
"title": "<title>",
"expected_rev": "<expected_rev>"
},
"name": "web_add_page"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Safe relative .html path. | |
| title | Yes | Page title. | |
| expected_rev | Yes | Revision returned by your most recent read. Stale revisions refuse; read again. |