associate_knowledge_to_agent
Link knowledge base documents to an AI agent by replacing its current document associations with specified IDs. Use to update or clear agent knowledge sources.
Instructions
Associates (links) knowledge base document IDs to an agent. Replaces the current list of knowledgeDocumentIds on the agent. Use list_knowledge_documents to get valid document IDs.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| agentId | Yes | The MongoDB ID of the agent to update | |
| documentIds | Yes | Array of knowledge document IDs to associate with the agent. Pass an empty array to remove all. |