add_section
Create a standalone page for any site section, with custom block support for unnamed types and optional insertion position.
Instructions
Add a section to a site, creating its own page.
An unknown type is rendered as a generic custom section built from its
blocks, so you can add kinds of content the schema does not name yet.
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": {
"slug": "<slug>",
"section": "<section>"
},
"name": "add_section"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| slug | Yes | ||
| section | Yes | A section object; see get_payload_schema | |
| position | No | 0-based insert position; appended when omitted |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||