update_document_content
Replaces a Backlog document's entire body with Pandoc Markdown; read the full current body first, then send the complete edited content to apply changes.
Instructions
Replaces the entire document body with Pandoc Markdown. Read the whole current body with get_document before making a partial edit, then send the full edited body. The result is a summary. Read the document again before editing further because Backlog normalizes Markdown. On HTTP 409, read the latest body and reapply the edit before retrying. When present, code explains why the body was left unchanged. NO_CHANGE means the body was already current. If markdownIsFallback is true, the stored Markdown may be stale. Stop editing and ask the user to check the document in Backlog.
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": {
"documentId": "<documentId>",
"content": "<content>"
},
"name": "update_document_content"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| content | Yes | The entire new body in Pandoc Markdown. An empty string clears the body. | |
| documentId | Yes | Document ID |