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

# Conocimiento

> Referencia de las herramientas de Conocimiento del MCP de xcale: qué hace cada una, si cambia algo y qué necesita.

*Generada del código que corre en producción — no editar. Los nombres, títulos y descripciones de las herramientas están en inglés en todos los idiomas.*

## `list_knowledge`

**List the knowledge documents**

List the documents this business has given its agents, and which agents read each one. reads says how each agent has it: pinned, read in full in every conversation; from\_skill, brought by a skill the agent has; dashboard\_only, assigned in the dashboard and not pinned, so not always in view for the agent, which can look it up if it has the knowledge tools. Search by file name or text and page through them; a row with truncated names only some of its agents, and get\_knowledge\_document names them all.

Solo lectura · Idempotente: Sí

**Entradas**

| Nombre | Tipo | Obligatoria | Descripción |
| - | - | - | - |
| `query` | string | No | |
| `page` | integer | No | |
| `limit` | integer | No | |

## `get_knowledge_document`

**Get a knowledge document**

Read one document: its text and which agents read it. reads says how each agent has it: pinned, read in full in every conversation; from\_skill, brought by a skill the agent has; dashboard\_only, assigned in the dashboard and not pinned, so not always in view for the agent, which can look it up if it has the knowledge tools. A document too long for one result comes back cut, with truncated and originalLength. DOCUMENT\_UNREADABLE means it is on file but its text could not be read, not that it is empty, and its details say why when the extraction is the cause: extraction pending, the text is still being extracted and a later read may find it; extraction failed, with a reason such as scanned\_pdf, no text came out of this file and reading it again will not change that. With no details the read itself failed, usually storage not answering, and trying again may work.

Solo lectura · Idempotente: Sí

**Entradas**

| Nombre | Tipo | Obligatoria | Descripción |
| - | - | - | - |
| `documentId` | string | Sí | |

## `create_knowledge_note`

**Write a knowledge note**

Save a text as a Markdown document of this business, named after its title. With agentId it is also pinned to that agent, as pin\_document does. If the pin fails the note stays saved and the error details give its documentId: pin that one, do not write it again.

Escritura · Idempotente: No

**Entradas**

| Nombre | Tipo | Obligatoria | Descripción |
| - | - | - | - |
| `title` | string | Sí | |
| `text` | string | Sí | |
| `agentId` | string | No | |

## `upload_knowledge_file`

**Upload a knowledge file**

Upload a small file as a document of this business, in base64, txt or md or csv by its file name. With agentId it is also pinned to that agent, as pin\_document does. Over 1 MiB decoded it is not saved: file\_too\_large gives details.dashboardUrl, where the person can upload it. If the pin fails the file stays saved and the error details give its documentId: pin that one, do not upload it again.

Escritura · Idempotente: No

**Entradas**

| Nombre | Tipo | Obligatoria | Descripción |
| - | - | - | - |
| `fileName` | string | Sí | |
| `mimeType` | string | Sí | |
| `contentBase64` | string | Sí | |
| `agentId` | string | No | |

## `delete_knowledge_document`

**Delete a knowledge document**

Delete a document of this business. It leaves every agent that has it and every skill that carries it. Call once to get the agents that have it and a confirmationToken; call again with the token to delete.

Escritura · Idempotente: No · confirmación en dos pasos

**Entradas**

| Nombre | Tipo | Obligatoria | Descripción |
| - | - | - | - |
| `documentId` | string | Sí | |
| `confirmationToken` | string | No | |


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