update_template_content
Replace, append, or prepend markdown content to a page template. Prevents concurrent edit conflicts.
Instructions
Write a page template's markdown body. This is the content create_page(templateId) copies into new pages. An empty body is allowed and clears the template. Append and prepend are protected against concurrent edits and fail rather than overwriting someone else's change.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | Yes | Markdown content. Empty string clears the template. | |
| mode | No | How to apply body. Defaults to replace. | |
| templateId | Yes | Template id from list_templates. | |
| collectiveId | Yes |