> ## Documentation Index
> Fetch the complete documentation index at: https://dialnexa.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Knowledge Base MCP Tools

> Use DialNexa knowledge base MCP tools through the remote MCP server.

DialNexa knowledge base MCP tools let an MCP-compatible AI client inspect and manage agent knowledge base containers. Each tool page includes its exact server description, input schema, safety level, request shape, and retry guidance.

## Available Knowledge Base MCP Tools

| Tool | Safety | What it does |
| - | - | - |
| [`list_knowledge_base_documents`](https://dialnexa.com/docs/mcp-tools/knowledge-base/list-knowledge-base-documents) | Read only | Returns the organization's knowledge base entries used to ground agent responses. |
| [`get_knowledge_base_document`](https://dialnexa.com/docs/mcp-tools/knowledge-base/get-knowledge-base-document) | Read only | Returns a single knowledge base document by ID (e.g. kb\_abc123). |
| [`get_knowledge_base_affected_agents`](https://dialnexa.com/docs/mcp-tools/knowledge-base/get-knowledge-base-affected-agents) | Read only | Returns the agents that currently use this knowledge base. |
| [`create_knowledge_base`](https://dialnexa.com/docs/mcp-tools/knowledge-base/create-knowledge-base) | Changes state - verify before retry | Creates a new, empty named knowledge base container for the organization. |
| [`upload_knowledge_base_text`](https://dialnexa.com/docs/mcp-tools/knowledge-base/upload-knowledge-base-text) | Changes state - verify before retry | Adds a text document to a knowledge base and indexes it, so agents that use the knowledge base can draw on it from their next call. |
| [`upload_knowledge_base_document`](https://dialnexa.com/docs/mcp-tools/knowledge-base/upload-knowledge-base-document) | Changes state - verify before retry | Adds a real PDF or text FILE to a knowledge base and indexes it: the same import the dashboard upload performs. |
| [`update_knowledge_base`](https://dialnexa.com/docs/mcp-tools/knowledge-base/update-knowledge-base) | Changes state - verify before retry | Renames a knowledge base container. |
| [`delete_knowledge_base`](https://dialnexa.com/docs/mcp-tools/knowledge-base/delete-knowledge-base) | Destructive | Permanently deletes a knowledge base and its documents. |

## Before you call a tool

Connect with OAuth or a workspace API key and complete MCP initialization first. Use IDs exactly as another DialNexa tool returned them, including prefixes such as `agent_`, `call_`, and `workflow_`.

For operations that change data, verify the target and current state before the call. Billable and destructive tools require extra care because retrying an uncertain result can spend money or repeat an irreversible action.

## Related guides

* [MCP quickstart](https://dialnexa.com/docs/mcp-tools/quickstart.md)
* [MCP responses and errors](https://dialnexa.com/docs/mcp-tools/errors.md)
* [MCP connection and authentication](https://dialnexa.com/docs/mcp-tools/overview.md)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.