Saltar al contenido principal
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

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

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

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

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