Overview
Tool Name
Purpose
The knowledge_base_admin_tools manage reusable knowledge bases. A knowledge base is a named bundle of one or more document index names that an agent can later search withsearch_knowledge_bases(...).
These admin tools require the
manage_document_indexes permission. They
register and delete knowledge-base bundles; they do not search them. Use
search_knowledge_bases(...) for runtime retrieval, then
read_knowledge_base_doc(...) to read the full document behind a hit (not
read_genesis_doc, which only covers Genesis product documentation), and
Bot Management Tools to inspect
or replace which knowledge bases are assigned to an agent.Functions Available
list_knowledge_bases: List registered knowledge bases that can be assigned to agents.create_knowledge_base: Create or register a reusable knowledge base backed by one or more document indexes.delete_knowledge_base: Delete a registered knowledge base and remove assignments that reference it.
Input Parameters for Each Function
list_knowledge_bases
No additional parameters.
create_knowledge_base
delete_knowledge_base
Typical Flow
- Create or update the source document indexes with Document Index Tools.
For Git-backed indexes synced from a managed source, stage markdown edits with
propose_kb_edit(...)instead of directADD_DOCUMENTSwrites. - Register a reusable bundle with
create_knowledge_base(...). - Assign that
knowledge_base_idto an agent withset_bot_knowledge_bases(...). - Let the assigned agent use
search_knowledge_bases(...)during runtime, thenread_knowledge_base_doc(...)when it needs the full text of a matched document.
Example
Output
list_knowledge_basesreturnssuccess,count, andknowledge_bases.create_knowledge_basereturnssuccess,knowledge_base_id,created_by,attributed_to_another, and the savedknowledge_base. These values are read from the persisted record: replacing an existing id keeps its originalcreated_by, while a record without a named creator returns"unattributed"and a null attribution.delete_knowledge_basereturnssuccess,knowledge_base_id, andremoved_assignments.

