add_documents
Add text documents to the knowledge base for retrieval and question answering. Use source to label the origin.
Instructions
Add a document (text) to the knowledge base. Use source to label where it came from.
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": {
"text": "<text>"
},
"name": "add_documents"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | ||
| source | No | user_input |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||