Append Markdown
append_markdownAppend markdown content to an existing AFFiNE document, with optional control over insertion position using block IDs or index.
Instructions
Append markdown content to an existing AFFiNE document.
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": {
"docId": "<docId>",
"markdown": "<markdown>"
},
"name": "append_markdown"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| docId | Yes | AFFiNE document id. | |
| strict | No | ||
| markdown | Yes | Markdown content to append | |
| placement | No | Optional insertion target/position | |
| workspaceId | No | AFFiNE workspace id. Omit only when AFFINE_WORKSPACE_ID is configured. |