Для AI-агентов: markdown этой страницы — /docs/mcp-tool-create-knowledge.mdиндекс документации — /llms.txt
create_knowledge
Обновлено
Add a knowledge-base entry to a board (`kb_type`: manager or coach) with a title + content (≤4000 chars — one item; split longer material into several items) and optional tags. ASYNC: the entry is stored and QUEUED for graph indexing — it returns immediately with status `indexing` (poll get_knowledge until `indexed`). If the status becomes `awaiting_subscription`, stop polling: indexing is postponed until the business has an active AI plan and tokens — tell the owner a plan is needed; after the payment the entry is indexed by itself. Returns the created entry with its assigned `id`. Optional `prepared_step_ids`: ordered chain step ids whose ready-made messages are attached to this entry — the business's AI agent reads their text when this entry answers a customer and may send them into the chat, complete with media and buttons; the entry itself stays text. A step works in one of two modes: a standalone message (the step is active, its content is live, it has no delay) is sent as that one message; a chain entry step (`is_entry_point: true`) sends its start message and starts the whole chain. Create the step with create_chain_step first; do not park prepared messages in a switched-off service chain (`is_active: false`) — a switched-off step is never sent.
Права и условия
required_scopes: ALL.
| Поле | Значение |
|---|---|
| description | "Add a knowledge-base entry to a board (`kb_type`: manager or coach) with a title + content (≤4000 chars — one item; split longer material into several items) and optional tags. ASYNC: the entry is stored and QUEUED for graph indexing — it returns immediately with status `indexing` (poll get_knowledge until `indexed`). If the status becomes `awaiting_subscription`, stop polling: indexing is postponed until the business has an active AI plan and tokens — tell the owner a plan is needed; after the payment the entry is indexed by itself. Returns the created entry with its assigned `id`. Optional `prepared_step_ids`: ordered chain step ids whose ready-made messages are attached to this entry — the business's AI agent reads their text when this entry answers a customer and may send them into the chat, complete with media and buttons; the entry itself stays text. A step works in one of two modes: a standalone message (the step is active, its content is live, it has no delay) is sent as that one message; a chain entry step (`is_entry_point: true`) sends its start message and starts the whole chain. Create the step with create_chain_step first; do not park prepared messages in a switched-off service chain (`is_active: false`) — a switched-off step is never sent." |
| domain | "kb" |
| name | "create_knowledge" |
| platform_version | "1.0.34" |
| required_scopes | ["kb:write"] |
| risk | "write" |
| scope | "kb:write" |
| title | "Create Knowledge" |