Add Page
add_pageAdd a new page to the site with default content blocks. Supported types: "service", "location", "about", "contact", "custom", "landing", "blog".
Annotations: read-only=false, destructive=false, idempotent=false, open-world=false. Why: Adds a new page to the DRAFT; nothing existing is overwritten (additive, not destructive). Not idempotent: each call adds another page, and may spend AI credits when it writes a service or location page. Closed-world: it talks only to Zarla's own services, including Zarla's AI generation. The live site changes only when the user confirms publish_site; the draft stays editable in the Zarla editor.
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_id": "<site_id>",
"page_type": "<page_type>",
"title": "<title>"
},
"name": "add_page"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| slug | No | URL slug. Auto-generated from title if omitted. | |
| title | Yes | Page title (e.g. "Ceramic Coating", "Parramatta") | |
| site_id | Yes | ||
| page_type | Yes | ||
| description | No | Brief description to guide content generation |