Create Semantic Page
create_semantic_pageCreate AFFiNE-native pages with semantic templates or custom sections, adding bullets, callouts, paragraphs, and optional parent placement to organize workspace content.
Instructions
Create an AFFiNE-native page with intentional section structure and native block composition.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| title | No | Page title. | |
| pageType | No | Semantic page template to seed default sections. | |
| sections | No | Optional explicit section structure. If omitted, the page type defaults are used. | |
| parentDocId | No | Optional parent doc to link the new page under in the sidebar. | |
| workspaceId | No | AFFiNE workspace id. Omit only when AFFINE_WORKSPACE_ID is configured. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | No | ||
| code | No | ||
| docId | No | ||
| error | No | ||
| stage | No | ||
| title | No | ||
| noteId | No | ||
| pageId | No | ||
| status | No | ||
| details | No | ||
| blockIds | No | ||
| pageType | No | ||
| warnings | No | ||
| causeCode | No | ||
| retryable | No | ||
| workspaceId | No | ||
| parentLinked | No | ||
| sectionCount | No | ||
| contentPersisted | No | ||
| recoveryGuidance | No | ||
| metadataPersisted | No | ||
| sectionHeadingIds | No | ||
| requiresManualRepair | No |