knowledge_create
Create a branded knowledge-base item for text or JSON content. Submit content, and PostKing auto-generates description/tags if omitted, returning an operation ID to poll for completion.
Instructions
Async. Create a new knowledge-base item for the brand. Returns { operationId, status } — poll get_job until state=completed. If description or tags are omitted, PostKing auto-generates them from the content. 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 | Yes | Human-readable name for the knowledge item (e.g. 'Brand Voice Guidelines'). | |
| tags | No | Optional tags for filtering (e.g. ['brand', 'voice']). Auto-generated if omitted. | |
| brandId | No | Brand ID (defaults to active brand) | |
| content | Yes | The full content body. Must be valid JSON string when contentType='json'. | |
| isGlobal | No | Mark as account-wide knowledge (shared across all the user's brands) | |
| contentType | Yes | Content format: 'text' for prose/markdown, 'json' for structured data. | |
| description | No | Optional short description. If omitted, PostKing auto-generates one from the content. |