add_knowledge_base_to_agent
Add knowledge base content to an ElevenLabs agent from files, URLs, or text to enhance its contextual understanding and response capabilities.
Instructions
Add a knowledge base to ElevenLabs workspace. Allowed types are epub, pdf, docx, txt, html.
⚠️ COST WARNING: This tool makes an API call to ElevenLabs which may incur costs. Only use when explicitly requested by the user.
Args:
agent_id: ID of the agent to add the knowledge base to.
knowledge_base_name: Name of the knowledge base.
url: URL of the knowledge base.
input_file_path: Path to the file to add to the knowledge base.
text: Text to add to the knowledge base.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
agent_id | Yes | ||
input_file_path | No | ||
knowledge_base_name | Yes | ||
text | No | ||
url | No |
Input Schema (JSON Schema)
{
"properties": {
"agent_id": {
"title": "Agent Id",
"type": "string"
},
"input_file_path": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Input File Path"
},
"knowledge_base_name": {
"title": "Knowledge Base Name",
"type": "string"
},
"text": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Text"
},
"url": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Url"
}
},
"required": [
"agent_id",
"knowledge_base_name"
],
"type": "object"
}