Add a page
add_pageAdds a page to the site's draft with its sections. The page appears in the site menu. The path is the page's address inside the person's own WebDesk site (for example /services), not a web address or an API endpoint.
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>",
"path": "<path>",
"title": "<title>",
"sections": "<sections>"
},
"name": "add_page"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Page path: "/" for home, or "/services", "/gallery". Lowercase letters, digits and hyphens. | |
| title | Yes | ||
| site_id | Yes | The site id from list_sites or create_site. | |
| sections | Yes | ||
| description | No |