knowledge_update
Update knowledge-base items efficiently: minor edits apply synchronously, while major content changes trigger AI description regeneration and return an operation ID to track progress.
Instructions
Update a knowledge-base item. Minor edits (name, tags, description) return the updated item synchronously. When content changes significantly, PostKing queues an AI description regeneration and returns { operationId, status } — poll get_job until state=completed. For contentType='json', content must be valid JSON — this tool validates client-side before calling the API. Typically takes ~15–30 s.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Updated name. | |
| tags | No | Replacement tag list. Pass [] to clear all tags. | |
| itemId | Yes | KnowledgeBase item ID to update. | |
| brandId | No | Brand ID (defaults to active brand) | |
| content | No | Updated content body. Must be valid JSON when contentType (new or existing) is 'json'. | |
| contentType | No | Updated content format. Must still match the content body. | |
| description | No | Updated description. Pass null to clear it. |