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.
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": {
"collectiveId": "<collectiveId>",
"templateId": "<templateId>",
"body": "<body>"
},
"name": "update_template_content"
}
}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 |