Rewrite a knowledge doc
update_knowledgeWrites a doc whole, keeping the previous version dated in its history. Send the title and the content each time, plus the brands and addresses it applies to.
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": {
"doc_id": "<doc_id>",
"title": "<title>",
"content": "<content>"
},
"name": "update_knowledge"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| title | Yes | The title of the doc, unique in the account. | |
| brands | No | The brand slugs this doc applies to, from list_brands. An empty list applies it to the whole account. | |
| doc_id | Yes | The id of the doc, as list_knowledge gives it. | |
| content | Yes | The doc itself, in Markdown. This is the text Iris reads before drafting. | |
| addresses | No | The inbound addresses this doc applies to, from list_sender_addresses. An empty list applies it to every address of the brands above. | |
| sort_order | No | Where the doc sits in the reading order, lowest first. |