create_document
Add a text document to a specified collection so AI assistants can search and expand the AskBase knowledge base.
Instructions
Add a text document to a collection.
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": {
"collection_id": "<collection_id>",
"content": "<content>"
},
"name": "create_document"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| title | No | Document title | |
| content | Yes | The document text (markdown is fine) | |
| source_uri | No | Where the content came from | |
| collection_id | Yes | Collection ID |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |