Server Configuration
Describes the environment variables required to run the server.
Name | Required | Description | Default |
---|---|---|---|
DOCS_PATH | No | Local directory for storing documents | ~/docs |
GEMINI_API_KEY | Yes | Google's Gemini API key for document indexing and querying |
Schema
Prompts
Interactive templates invoked by user choice
Name | Description |
---|---|
guide_documents_usage | Guide on how to use documents and RAG functionality |
Resources
Contextual data attached and managed by the client
Name | Description |
---|---|
No resources |
Tools
Functions exposed to the LLM to take actions
Name | Description |
---|---|
list_documents | List all available documents in the DOCS_PATH directory. Always use this tool first to check if desired documents already exist before adding new ones. |
rag_query | Query a document using RAG. Note: If the index does not exist, it will be created when you query, which may take some time. |
add_git_repository | Add a git repository to the docs directory with optional sparse checkout. Please do not use 'docs' in the document name. |
add_text_file | Add a text file to the docs directory with a specified name. Please do not use 'docs' in the document name. |