index_documents
Index documents from JSON files into Elasticsearch to initialize or update a knowledge base for semantic search and retrieval.
Instructions
Reads documents from data/docs.json and indexes them into Elasticsearch. Call this tool to initialize or update the knowledge base.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "index_documents"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |