Create a template
create_templateCreates a new Markdown document template in a space's _templates folder, with placeholders for date, author and title so pages can be generated from it.
Instructions
Creates a new document template in the space's _templates/ folder (create_page refuses that folder). Write {{date}}, {{author}} and {{title}} in the body where a page made from it should get the day, the person and its own title. To make a template of an existing page use save_page_as_template instead. Requires a write-scoped token and an editor role in the space. Returns the template 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": {
"space": "<space>",
"title": "<title>"
},
"name": "create_template"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| space | Yes | Space slug | |
| title | Yes | Template name | |
| markdown | No | Body markdown; omit for a blank starter page. Same title rule as create_page: if it does not open with a "# Heading", "# <title>" is added above it. | |
| description | No | One line saying what the template is for; shown by 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 |