Create a page from a template
create_page_from_templateCreates a new wiki page by copying a space template, including its subpages, under a chosen parent path, with date, author and title placeholders filled in.
Instructions
Creates a new page by copying a template of the space (an id from list_templates), subpages included, under parentPath. In the copied documents {{date}}, {{author}} and {{title}} are filled in ({{title}} is the new page's title). Fill or adjust the copy afterwards with update_page. Requires a write-scoped token and an editor role in the space; the copy carries only what the caller may see. Returns the new page like create_page, plus its url.
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": {
"templateId": "<templateId>",
"space": "<space>",
"parentPath": "<parentPath>"
},
"name": "create_page_from_template"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| space | Yes | Space slug (the template's space) | |
| title | No | Title of the new page; omitted: the template's own title | |
| parentPath | Yes | Parent directory path relative to the space root for the new page; "" for the space root | |
| templateId | Yes | Id of the template page, from list_templates |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Page id | |
| icon | No | Emoji icon, if the page has one | |
| kind | Yes | Page kind: doc, board, table, form, base, canvas, artifact, pdf or office | |
| path | Yes | Path relative to the space root | |
| cover | No | Cover image URL, if the page has one | |
| order | Yes | Position among its siblings | |
| space | Yes | Space slug the page belongs to | |
| title | Yes | Page title | |
| status | Yes | Page status | |
| updatedAt | Yes | Last change, ISO timestamp |