add_knowledge_base_to_agent
Enhance agent capabilities by integrating documents or information sources to expand its knowledge base for improved responses.
Instructions
Adds knowledge to agent. Returns: knowledge base ID. Use when: giving agent access to documents or information.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"agent_id": "<agent_id>",
"knowledge_base_name": "<knowledge_base_name>"
},
"name": "add_knowledge_base_to_agent"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| agent_id | Yes | ||
| knowledge_base_name | Yes | ||
| url | No | ||
| input_file_path | No | ||
| text | No |