Append Semantic Section
append_semantic_sectionAdd a semantic section to an AFFiNE document by specifying a heading and optional blocks like bullets, callouts, or paragraphs. Provide the document ID and section title to append structured content.
Instructions
Append a semantic section to an existing AFFiNE document by heading title and native block composition.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| docId | Yes | AFFiNE document id. | |
| bullets | No | Bulleted items to append under the new section. | |
| callouts | No | Callout blocks to append under the new section. | |
| paragraphs | No | Paragraphs to append under the new section. | |
| workspaceId | No | AFFiNE workspace id. Omit only when AFFINE_WORKSPACE_ID is configured. | |
| sectionTitle | Yes | Heading text for the new semantic section. | |
| afterSectionTitle | No | Optional existing section heading to append after. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| docId | Yes | ||
| noteId | Yes | ||
| blockIds | Yes | ||
| workspaceId | Yes | ||
| sectionTitle | Yes | ||
| appendedCount | Yes | ||
| sectionHeadingId | Yes | ||
| afterSectionTitle | Yes |