Skip to main content
Server path: /knowledge-base | Type: Embedded | PCID required: No

Tools


knowledge-base_ask

Ask questions about document chunks from a knowledge base. Returns AI-generated answers based on semantic search of uploaded documents. Use collectionId from knowledge-base_list_collections to specify which collection to query. Parameters:

knowledge-base_create_collection

Create a new knowledge base collection for storing and searching documents. Returns { id, name, type } - use the “id” field as collectionId for subsequent operations like uploading files. Parameters:
DEFAULT TOOL when a user asks to ‘get’, ‘share’, or ‘send’ a knowledge base file. Works for both public and private files. Creates a clean, shareable URL that serves the file directly in the browser. For private files, returns a short URL that does not expose storage signatures. For public files, returns the public URL directly. When the user says ‘get me file X’ or ‘can I have file X’, use this tool — do NOT retrieve file contents unless the user explicitly wants them for processing. Each call generates a unique short URL with its own independent expiration. Optionally store query parameters that will be appended to the URL when the link is accessed. Parameters:

knowledge-base_delete_collection

Delete a knowledge base collection and all its documents. Returns { message } on success. WARNING: This is a destructive operation that cannot be undone. Parameters:

knowledge-base_delete_item

Delete a file from the knowledge base collection. Needs an EXISTING collection ID (not a name). You can get the existing collection IDs from the knowledge_base_list_collections tool. Parameters:

knowledge-base_list_collections

List all available knowledge base collections Parameters: None
Search for semantically matching document chunks from a knowledge base. Returns relevant document snippets with similarity scores. Use collectionId from knowledge-base_list_collections to specify which collection to search. Parameters:

knowledge-base_upload_file

Upload a file to the knowledge base collection. Needs an EXISTING collection ID (not a name). You can get the existing collection IDs from the knowledge_base_list_collections tool. Agents: to share the uploaded file, call knowledge-base_create_sharelink afterward — avoid requesting file_url as it bloats context with storage credentials. Workflows: set returnFileUrl=true to include the file_url in the response for convenient downstream use. Parameters: