add_document
Add a document to the knowledge base by providing its title, content, and optional labels for tagging.
Instructions
Add a new document to the knowledge base.
Args:
title: Title of the document.
content: Full text content of the document.
labels: Labels to tag the document with (optional).
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": {
"title": "<title>",
"content": "<content>"
},
"name": "add_document"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| title | Yes | ||
| labels | No | ||
| content | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| doc_id | Yes |