Create a page
create_pageCreates a new page in a Folio Wiki space as a document or data table; requires a write-scoped token, and in review mode returns a proposal instead.
Instructions
Creates a new page in a space — a document (default) or, since round 26, a data table. Requires a write-scoped token. In a space set to review mode the page is not created: the answer is status "proposed" with a proposalId, the page appears when an editor accepts it, and you must not repeat the call. For kind "table", use folio_table_create instead if you want a fuller, dedicated schema-authoring tool; this one also accepts an optional starter columns schema for convenience.
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>",
"parentPath": "<parentPath>",
"title": "<title>"
},
"name": "create_page"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | No | "doc" (default) or "table" (round 26 data table). markdown is ignored for "table". | |
| space | Yes | Space slug | |
| title | Yes | Page title | |
| columns | No | Table only: starter column schema. Column `id` is auto-derived from `name` when omitted. | |
| markdown | No | Initial body markdown (doc only); omit for a blank starter page (just the title as an H1). A page's title is the first "# Heading" of its body: if your markdown does not open with one, "# <title>" is added above it, so you can send body text only. If it does open with an H1, that heading is kept as is and becomes the page title (the `title` argument then only names the file) — the reply shows the resulting title. A leading front matter block with icon/cover is applied as page metadata. Underline is `++text++` (no `<ins>`/`<u>` tags). Ignored for "table". | |
| parentPath | Yes | Parent directory path relative to the space root; "" for the space root |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | Page id | |
| icon | No | Emoji icon, if the page has one | |
| kind | No | Page kind: doc, board, table, form, base, canvas, artifact, pdf or office | |
| path | No | Path relative to the space root | |
| cover | No | Cover image URL, if the page has one | |
| order | No | Position among its siblings | |
| space | No | Space slug the page belongs to | |
| title | No | Page title | |
| status | No | Page status | |
| message | No | Review mode only: what happened and what to do next | |
| updatedAt | No | Last change, ISO timestamp | |
| proposalId | No | Review mode only: id of the proposal that was queued instead of writing the page |