dnvriend/gemini-file-search-tool
dnvriend/gemini-file-search-tool · 0 stars · 1 plugin
Marketplace Production-ready CLI and Python library for Google's Gemini File Search API - A fully managed RAG system for document search and question-answering
Install
/plugin marketplace add dnvriend/gemini-file-search-toolRun inside Claude Code, then install plugins from it. Check the repo's README before you run it.
Plugins 1
After adding the marketplace, install one with /plugin install <name>@gemini-file-search-tool.
- 1gemini-file-search-toolManage Gemini File Search stores and query with RAG
/plugin install gemini-file-search-tool@gemini-file-search-tool
Files
gemini-file-search-tool
Gemini File Search Tool - Production-ready CLI & Python library for Google's fully managed RAG system
Table of Contents
- About
- Use Cases
- Features
- Installation
- Configuration
- Usage
- Development
- Testing
- Known Issues
- Contributing
- License
- Author
- Resources
About
gemini-file-search-tool is a production-ready CLI and Python library for Google's Gemini File Search API, a fully managed Retrieval-Augmented Generation (RAG) system that eliminates the operational complexity of vector databases, embeddings, and retrieval infrastructure.
What is Gemini File Search?
Gemini File Search is Google's fully managed RAG solution that automatically handles document ingestion, chunking, embedding generation, and semantic retrieval. As announced in Google's developer blog, it provides enterprise-grade document search capabilities with zero infrastructure overhead, allowing developers to focus on building intelligent applications rather than managing search infrastructure.
Why This Tool?
This tool provides a CLI-first interface to the Gemini File Search API, designed specifically for integration with AI agents, automation workflows, and human operators:
- Agent-Friendly Design: CLIs provide structured commands with built-in documentation and rich error messages that AI agents can parse and act upon in ReAct (Reasoning and Acting) loops, making them superior to standalone scripts for agentic workflows
- Composable Architecture: JSON output to stdout and logs to stderr enable seamless piping and integration with other tools, perfect for complex automation pipelines
- Reusable Building Blocks: Commands can be composed into larger workflows, used in skills for Claude Code, or integrated into custom automation without modification
- Dual-Mode Operation: Functions as both a CLI tool for command-line operations and a Python library for programmatic integration
- Production Quality: Type-safe, thoroughly tested, with comprehensive error handling that provides actionable feedback for both humans and agents
Whether you're building AI-powered document search, integrating RAG into agentic workflows, or automating knowledge base operations, this tool provides the foundation for reliable, maintainable solutions.
Use Cases
- 📚 Knowledge Base Management: Index documentation, research papers, wikis, and technical specifications into searchable stores for instant retrieval
- 💻 Code-RAG (Retrieval-Augmented Generation for Code): Upload entire codebases to enable semantic code search and natural language querying. Ask questions like "how does authentication work?", "where is error handling implemented?", or "explain the database architecture". Perfect for onboarding, code reviews, architecture discovery, and building AI coding assistants.
- 🔍 Semantic Search: Query your document stores with natural language questions and receive contextually relevant answers with automatic citation
- 🎯 RAG Applications: Build production-ready retrieval-augmented generation systems with JSON-formatted responses including grounding metadata and source attribution
Code-RAG Example
Upload a codebase and query it with natural language:
# Upload your entire codebase gemini-file-search-tool upload "src/**/*.py" --store "my-project-code" -v # Query with natural language gemini-file-search-tool query "How does the authentication system work?" \ --store "my-project-code" --show-cost -v # Ask architectural questions gemini-file-search-tool query "What design patterns are used in this codebase?" \ --store "my-project-code" --query-model pro # Find implementations gemini-file-search-tool query "Where is error handling for API calls implemented?" \ --store "my-project-code"
Meta Note: This tool itself was built using Code-RAG! We uploaded the codebase to a Gemini File Search store and used it to answer questions during development. The tool enables the very functionality it provides.
Features
- ✅ Fully Managed RAG: Automatic chunking, embeddings, and retrieval without infrastructure management
- ✅ Multi-Format Support: PDF, DOCX, TXT, JSON, CSV, HTML, and source code files
- ✅ Code-RAG Enabled: Upload codebases and query with natural language for semantic code search
- ✅ Intelligent Caching: Local mtime-based cache (O(1) performance) prevents unnecessary re-uploads
- ✅ Async Uploads:
--no-waitflag for fire-and-forget uploads with manual sync capability - ✅ Cache Management: sync-cache, flush-cache, and cache-report commands for operation tracking
- ✅ Query Enhancement: LLM-powered query optimization for better RAG retrieval (generic, code-rag, obsidian modes)
- ✅ Natural Language Queries: Ask questions in plain language and get contextual answers
- ✅ Automatic Citations: Built-in source attribution and grounding metadata
- ✅ Multi-Level Verbosity: Progressive logging detail with
-v(INFO),-vv(DEBUG),-vvv(TRACE) - ✅ Cost Tracking: Token usage monitoring and cost estimation for both enhancement and query operations
- ✅ Composable CLI: JSON output for easy integration with other tools and scripts
- ✅ Python Library: Import and use programmatically in your applications
- ✅ Type-Safe: Strict mypy type checking and modern Python 3.14+ syntax
- ✅ Production-Ready: Comprehensive testing, linting, and quality checks
Installation
Prerequisites
- Python 3.14 or higher
- uv package manager
- Google Gemini API access (see Configuration)
Core Dependencies
This tool uses the Google Generative AI Python SDK (google-genai) for interacting with Google's Gemini API.
Install from source
# Clone the repository git clone https://github.com/dnvriend/gemini-file-search-tool.git cd gemini-file-search-tool # Install globally with uv uv tool install .
Install with mise (recommended for development)
cd gemini-file-search-tool mise trust mise install uv sync uv tool install .
Verify installation
gemini-file-search-tool --version
Configuration
Environment Variables
The CLI automatically detects and supports both authentication methods. Configuration depends on whether you're using the Gemini Developer API or the Gemini API in Vertex AI.
Gemini Developer API (Recommended)
Set GEMINI_API_KEY or GOOGLE_API_KEY. The client will automatically pick up these variables. If both are set, GOOGLE_API_KEY takes precedence.
export GEMINI_API_KEY='your-api-key'
Get your API key:
- Visit Google AI Studio
- Create or select a project
- Generate an API key
- Set the environment variable
Example:
export GEMINI_API_KEY='AIza...' gemini-file-search-tool list-stores
Gemini API on Vertex AI
For Vertex AI, set the following environment variables:
export GOOGLE_GENAI_USE_VERTEXAI=true export GOOGLE_CLOUD_PROJECT='your-project-id' export GOOGLE_CLOUD_LOCATION='us-central1'
Prerequisites:
- Google Cloud project with Vertex AI API enabled
- Proper IAM permissions for Vertex AI
- Authenticated with
gcloud auth application-default login
Example:
export GOOGLE_GENAI_USE_VERTEXAI=true export GOOGLE_CLOUD_PROJECT='my-project' export GOOGLE_CLOUD_LOCATION='us-central1' # Authenticate with Google Cloud gcloud auth application-default login # Use the CLI (automatically uses Vertex AI) gemini-file-search-tool list-stores
Note: The CLI automatically detects which authentication method to use based on the GOOGLE_GENAI_USE_VERTEXAI environment variable.
For more information, see the Google Generative AI Python SDK documentation.
Usage
Basic Usage
# Show help gemini-file-search-tool --help # Show version gemini-file-search-tool --version # Get help for specific commands gemini-file-search-tool create-store --help gemini-file-search-tool upload --help
Store Management
# Create a new store gemini-file-search-tool create-store "my-documents" # List all stores gemini-file-search-tool list-stores # Get store details gemini-file-search-tool get-store "my-documents" # Update store display name gemini-file-search-tool update-store "my-documents" --display-name "My Documents 2024" # Delete a store gemini-file-search-tool delete-store "my-documents" --force
Document Management
# Upload a single file gemini-file-search-tool upload document.pdf --store "my-documents" # Upload multiple files with glob pattern gemini-file-search-tool upload "*.pdf" --store "my-documents" # Recursive upload gemini-file-search-tool upload "docs/**/*.md" --store "my-documents" # Upload with metadata gemini-file-search-tool upload document.pdf --store "my-documents" \ --title "Important Document" \ --url "https://example.com/doc" # Upload with custom chunking gemini-file-search-tool upload document.pdf --store "my-documents" \ --max-tokens 300 \ --max-overlap 25 # Upload respecting .gitignore (default behavior) gemini-file-search-tool upload "**/*.py" --store "my-codebase" -v # Upload ignoring .gitignore patterns gemini-file-search-tool upload "**/*.py" --store "my-codebase" --ignore-gitignore # Dry-run to preview files before uploading gemini-file-search-tool upload "**/*.py" --store "my-codebase" --dry-run -v # Upload with verbose logging (see what's happening) gemini-file-search-tool upload "*.pdf" --store "my-documents" -v # Upload with debug logging (see detailed operations) gemini-file-search-tool upload "*.pdf" --store "my-documents" -vv # Upload with trace logging (see full API calls) gemini-file-search-tool upload "*.pdf" --store "my-documents" -vvv # List documents in a store gemini-file-search-tool list-documents --store "my-documents" # List documents with verbose output gemini-file-search-tool list-documents --store "my-documents" -v
Querying
⚡ Recommended Configuration (Based on Benchmarks)
For optimal cost-quality balance, use the default configuration with no enhancement:
# Recommended: No enhancement + Flash model (best value) gemini-file-search-tool query "What are the key findings?" \ --store "my-documents" # With cost tracking and grounding metadata gemini-file-search-tool query "Explain the methodology" \ --store "my-documents" --show-cost --query-grounding-metadata -v
Performance Benchmarks (30 queries across 6 configurations):
- Quality Score: 97.7/100
- Cost: ~$0.00013 per query
- Success Rate: 100% (vs 20-80% with enhancement)
- Value: 156.1 quality points per $0.001 (6.6x better than enhancement)
See references/benchmark-model-comparison-2025-11-16.md for detailed analysis.
Other Query Options:
# Query with Pro model (complex analytical questions) gemini-file-search-tool query "Analyze the technical architecture" \ --store "my-documents" --query-model pro # Query with metadata filter gemini-file-search-tool query "Tell me about the book" \ --store "my-documents" --metadata-filter "author=Robert Graves" # Query with enhancement (only for vague/exploratory queries) gemini-file-search-tool query "authentication stuff" \ --store "my-documents" --enhance-mode code-rag --show-enhancement # Query with debug logging (see API operations) gemini-file-search-tool query "What are the findings?" \ --store "my-documents" --show-cost -vv # Query with trace logging (see full HTTP requests) gemini-file-search-tool query "Analyze this" \ --store "my-documents" --show-cost -vvv
⚠️ Query Enhancement Notes:
Based on comprehensive benchmarks, query enhancement is disabled by default and should only be used for:
- Vague or poorly worded queries ("authentication stuff", "that database thing")
- Exploratory queries where you're unsure what you're looking for
- Cases where simple queries consistently fail to retrieve relevant documents
Why? Enhancement makes queries too specific, reducing retrieval success rates from 100% to 20-80%. Simple, natural language queries work best for RAG systems (see Lewis et al., 2020).
Cost Tracking
The CLI automatically tracks token usage for query operations and can estimate costs based on current Gemini API pricing:
# View token usage (verbose mode) gemini-file-search-tool query "What is this about?" \ --store "my-documents" -v # Output: # [INFO] Token usage: 150 prompt + 320 candidates = 470 total # Show estimated cost gemini-file-search-tool query "What is this about?" \ --store "my-documents" --show-cost -v # Output: # [INFO] Token usage: 150 prompt + 320 candidates = 470 total # [INFO] Estimated cost: $0.00010725 USD
Query Response with Cost Information:
{
"response_text": "The document discusses...",
"usage_metadata": {
"prompt_token_count": 150,
"candidates_token_count": 320,
"total_token_count": 470
},
"estimated_cost": {
"input_cost_usd": 0.00001125,
"output_cost_usd": 0.000096,
"total_cost_usd": 0.00010725,
"currency": "USD",
"model": "gemini-2.5-flash",
"note": "Estimated cost based on current pricing. Subject to change."
}
}
Current Pricing (as of 2025-01):
- gemini-2.5-flash: $0.075 input / $0.30 output per 1M tokens
- gemini-2.5-pro: $1.25 input / $5.00 output per 1M tokens
Note: Pricing is subject to change. Verify current rates at Google AI Pricing.
Limitations:
- Token usage is only available for query operations
- Upload costs (document embedding) are not tracked by the API
- Cost estimates are calculated locally using published pricing
Upload Features
Intelligent Caching:
- Local Cache: Automatically tracks uploaded files at
~/.config/gemini-file-search-tool/stores/ - Per-Store Isolation: Each store maintains its own cache file (e.g.,
fileSearchStores__my-store.json) - mtime Optimization: O(n) → O(1) performance - checks file modification time before computing expensive SHA256 hash
- Smart Re-uploads: Only uploads files that have actually changed (skips identical files automatically)
- Cache Structure: Stores hash, mtime, remote_id, and last_uploaded timestamp for each file
- Performance Impact:
- Large codebases (1000 files): Cache check ~0.1 seconds vs ~5-10 seconds without cache
- Network I/O remains the bottleneck: Upload time (5-10s per file) dominates hash calculation (500ms)
- See
docs/cache-design.mdfor detailed performance analysis and architecture
Automatic File Validation:
- Empty Files: 0-byte files automatically skipped with warning
- File Size: 50MB limit enforced
- Base64 Images: Detects base64-encoded images in text files (can cause upload failures)
- System Files: Auto-skips
__pycache__,.pyc,.DS_Store, etc. - Gitignore Support: Automatically respects
.gitignorepatterns (use--ignore-gitignoreto disable) - MIME Types: Automatic registration for
.toml,.env,.txt,.mdfiles
Duplicate Detection:
- Automatically detects existing files by name and size
- Skips unchanged files (no re-upload)
- Updates files when size changes (deletes old, uploads new)
Preview & Control:
- Dry-Run: Use
--dry-runto preview which files would be uploaded without actually uploading - Skip Validation: Use
--skip-validationto bypass checks for faster uploads - Ignore Gitignore: Use
--ignore-gitignoreto upload files normally excluded by .gitignore
Dry-Run Mode
Preview which files would be uploaded without actually uploading:
# Preview files with sizes
gemini-file-search-tool upload "**/*.py" --store "code" --dry-run -v
# Output (to stderr):
# [INFO] Loaded 38 patterns from .gitignore
# [INFO] DRY-RUN: Would upload 13 file(s)
# Output (to stdout - JSON):
[
{
"file": "/path/to/file1.py",
"size_bytes": 1809,
"size_mb": 0.0
},
{
"file": "/path/to/file2.py",
"size_bytes": 2691,
"size_mb": 0.0
}
]
Benefits:
- Preview Files: See exactly which files match your glob pattern
- Verify Gitignore: Confirm .gitignore filtering is working correctly
- Check Sizes: Review file sizes before uploading
- No API Calls: Completely safe, no interaction with Gemini API
Verbosity Levels
All commands support multi-level verbosity for controlling log output detail:
| Flag | Level | Description | Use Case |
|---|---|---|---|
| (none) | WARNING | Only critical errors | Production, clean output |
-v |
INFO | High-level operations | See progress, identify failures |
-vv |
DEBUG | Detailed operations | Debug issues, see API calls |
-vvv |
TRACE | Full API details | Deep debugging, HTTP traces |
Examples:
# INFO level: See which files are uploaded/failed gemini-file-search-tool upload "*.pdf" --store "docs" -v # DEBUG level: See validation, polling, API operations gemini-file-search-tool upload "*.pdf" --store "docs" -vv # TRACE level: See full HTTP requests/responses from SDK gemini-file-search-tool upload "*.pdf" --store "docs" -vvv
Output:
# With -v (INFO) [INFO] Starting upload operation [INFO] Uploading: document.pdf (2.50MB) to store 'fileSearchStores/docs-123' [INFO] Upload completed successfully: document.pdf # With -vv (DEBUG) [INFO] Starting upload operation [INFO] Uploading: document.pdf (2.50MB) to store 'fileSearchStores/docs-123' [DEBUG] Validating file: document.pdf [DEBUG] File validation passed: document.pdf [DEBUG] Starting upload operation for: document.pdf [DEBUG] Operation started: operations/upload-abc123 [DEBUG] Polling operation operations/upload-abc123 (attempt 1) - waiting 2.0s [DEBUG] Polling operation operations/upload-abc123 (attempt 2) - waiting 3.0s [INFO] Upload completed successfully: document.pdf # With -vvv (TRACE) - includes all above plus: [DEBUG] (httpx) HTTP Request: POST https://... [DEBUG] (httpx) HTTP Response: 200 OK
Benefits:
- Real-time Feedback: See progress and failures as they happen (not just in final JSON)
- Progressive Detail: Choose the right level of verbosity for your needs
- Clean stdout: All logs go to stderr, keeping JSON output clean for piping
- Library Logging: At
-vvv, see internals fromhttpx,google-api-core, etc.
Cache Management
The CLI provides commands to manage the local cache for asynchronous upload operations and cache maintenance.
Asynchronous Uploads
Use --no-wait to skip operation polling and return immediately after initiating uploads:
# Fast async uploads (don't wait for completion)
gemini-file-search-tool upload "*.pdf" --store "docs" --no-wait -v
# Output: Returns immediately with "pending" status
[
{"file": "doc1.pdf", "status": "pending", "operation": "operations/..."},
{"file": "doc2.pdf", "status": "pending", "operation": "operations/..."}
]
Benefits:
- Faster Returns: No polling overhead (~2-10s per file saved)
- Bulk Operations: Initiate thousands of uploads quickly
- Fire-and-Forget: Useful for known-working file types where immediate feedback isn't needed
- Last-One-Wins: Re-uploading a file automatically overwrites previous pending operations
Trade-offs:
- No immediate status (success/failure unknown until synced)
- Requires manual
sync-cacheto check final status
Sync Cache
Check status of pending operations and update cache with final results:
# Sync all pending operations for a store
gemini-file-search-tool sync-cache --store "docs" -v
# With custom number of workers (default: 4)
gemini-file-search-tool sync-cache --store "docs" --num-workers 8 -v
# Output (JSON - default):
{
"status": "success",
"total": 10,
"synced": 8,
"failed": 1,
"still_pending": 1,
"operations": [
{"file": "doc1.pdf", "status": "synced", "remote_id": "documents/..."},
{"file": "doc2.pdf", "status": "failed", "error": {"message": "..."}}
]
}
# Human-readable text output
gemini-file-search-tool sync-cache --store "docs" --text
# Output (text):
Sync Summary:
Total operations: 10
Synced: 8
Failed: 1
Still pending: 1
Features:
- Parallel Processing: Fetches operation status concurrently with configurable workers (default: 4)
- Batch Cache Writes: Collects all updates and writes cache once at the end (not per-operation)
- Progress Bar: Visual feedback with tqdm during sync
- Error Details: Captures and stores error messages from failed operations
- Automatic Updates: Updates cache with remote_id when operations complete successfully
- Idempotent: Safe to run multiple times (only updates changed operations)
Cache Report
Generate reports on cache status with filtering options:
# Default report (summary + pending operations) gemini-file-search-tool cache-report --store "docs" # Show only failed operations gemini-file-search-tool cache-report --store "docs" --errors-only # Show only completed uploads gemini-file-search-tool cache-report --store "docs" --completed-only # Show all cached files gemini-file-search-tool cache-report --store "docs" --all # Human-readable text output gemini-file-search-tool cache-report --store "docs" --text
Output Example (JSON):
{
"store": "docs",
"stats": {
"total_files": 100,
"completed": 95,
"pending_operations": 3,
"failed_operations": 2
},
"files": [
{
"file": "/path/to/doc.pdf",
"status": "pending",
"operation": "operations/...",
"hash": "abc123...",
"mtime": 1731969000.0
}
]
}
Filters:
--pending-only: Show only files with pending operations--errors-only: Show only files with errors--completed-only: Show only successfully uploaded files--all: Show all cached files (overrides other filters)--text: Human-readable text format instead of JSON
Flush Cache
Delete cache file for a specific store:
# Flush with confirmation prompt gemini-file-search-tool flush-cache --store "docs" # Output: Cache statistics for 'docs': Total files: 100 Completed: 95 Pending operations: 3 Failed operations: 2 Are you sure you want to delete this cache? [y/N]: # Force flush without confirmation gemini-file-search-tool flush-cache --store "docs" --force
Use Cases:
- Clean Slate: Start fresh after major changes
- Rebuild Cache: Use with
upload --rebuild-cacheto re-upload everything - Troubleshooting: Clear corrupted cache data
Cache with Store Deletion
When deleting a store, cache statistics are shown and the cache is automatically removed:
# Delete store with cache cleanup gemini-file-search-tool delete-store "docs" --force # Output shows cache stats before deletion: [INFO] Cache found for store 'docs': [INFO] Total files: 100 [INFO] Completed: 95 [INFO] Pending operations: 3 [INFO] Failed operations: 2 [INFO] Deleting store: fileSearchStores/docs-123 [INFO] Removing cache file... [INFO] Cache removed successfully
Typical Workflows
Async Upload + Sync Pattern:
# 1. Fast upload without waiting gemini-file-search-tool upload "docs/**/*.pdf" --store "my-docs" --no-wait -v # 2. Continue working on other tasks... # 3. Later, check status gemini-file-search-tool sync-cache --store "my-docs" -v # 4. Review any failures gemini-file-search-tool cache-report --store "my-docs" --errors-only
Re-upload Changed Files:
# Upload with last-one-wins strategy # If files change and you re-upload, previous pending operations are overwritten gemini-file-search-tool upload "docs/*.pdf" --store "my-docs" --no-wait # The cache automatically tracks the latest operation-id per file
Cache Inspection:
# Quick overview gemini-file-search-tool cache-report --store "my-docs" --text # Detailed analysis gemini-file-search-tool cache-report --store "my-docs" --all | jq .
Library Usage
You can also use this package as a Python library:
from pathlib import Path
from gemini_file_search_tool import (
create_store,
upload_file,
query_store,
list_documents,
)
# Create a store
store = create_store("my-documents")
print(f"Created store: {store['name']}")
# Upload a file
result = upload_file(
file_path=Path("document.pdf"),
store_name=store["name"],
title="Important Document"
)
print(f"Upload status: {result['status']}")
# Query the store
response = query_store(
store_name=store["name"],
prompt="What is in this document?",
model="gemini-2.5-flash"
)
print(response["response_text"])
# List documents
documents = list_documents(store["name"])
print(f"Found {len(documents)} documents")
Development
Setup Development Environment
# Clone repository git clone https://github.com/dnvriend/gemini-file-search-tool.git cd gemini-file-search-tool # Install dependencies make install # Show available commands make help
Available Make Commands
make install # Install dependencies make format # Format code with ruff make lint # Run linting with ruff make typecheck # Run type checking with mypy make test # Run tests with pytest make check # Run all checks (lint, typecheck, test) make pipeline # Run full pipeline (format, lint, typecheck, test, build, install-global) make build # Build package make run ARGS="..." # Run gemini-file-search-tool locally make clean # Remove build artifacts
Project Structure
gemini-file-search-tool/
├── gemini_file_search_tool/ # Main package
│ ├── __init__.py
│ ├── cli.py # CLI entry point
│ └── utils.py # Utility functions
├── tests/ # Test suite
│ ├── __init__.py
│ └── test_utils.py
├── pyproject.toml # Project configuration
├── Makefile # Development commands
├── README.md # This file
├── LICENSE # MIT License
└── CLAUDE.md # Development documentation
Testing
Run the test suite:
# Run all tests make test # Run tests with verbose output uv run pytest tests/ -v # Run specific test file uv run pytest tests/test_utils.py # Run with coverage uv run pytest tests/ --cov=gemini_file_search_tool
Known Issues
SDK Bug #1661 - Document Listing with Vertex AI
Issue: The Google Generative AI Python SDK has a bug (#1661) where documents.list() requires a 'parent' parameter that causes failures.
Impact: The list-documents command cannot be used with Vertex AI authentication.
Workaround: We use the REST API directly instead of the SDK's documents.list() method. This workaround only works with the Developer API (requires GEMINI_API_KEY or GOOGLE_API_KEY).
Status: Waiting for upstream fix in the Google Generative AI Python SDK.
Affected Commands:
list-documents- Only works with Developer API, not Vertex AI
Code Location: gemini_file_search_tool/core/documents.py:list_documents()
Contributing
Contributions are welcome! Please follow these guidelines:
- Fork the repository
- Create a feature branch (
git checkout -b feature/amazing-feature) - Make your changes
- Run the full pipeline (
make pipeline) - Commit your changes (
git commit -m 'Add amazing feature') - Push to the branch (
git push origin feature/amazing-feature) - Open a Pull Request
Code Style
- Follow PEP 8 guidelines
- Use type hints for all functions
- Write docstrings for public functions
- Format code with
ruff - Pass all linting and type checks
License
This project is licensed under the MIT License - see the LICENSE file for details.
Author
Dennis Vriend
- GitHub: @dnvriend
Acknowledgments
Resources
Gemini File Search Documentation
- Gemini File Search API Documentation - Official API documentation and guides
- Gemini API File Search Stores Reference - API reference for file search stores
- Introducing File Search for the Gemini API - Official announcement and overview from Google
Related Tools
- Google Generative AI Python SDK - Python SDK for Google's Gemini API
Generated with AI
This project was generated using Claude Code, an AI-powered development tool by Anthropic. Claude Code assisted in creating the project structure, implementation, tests, documentation, and development tooling.
Made with ❤️ using Python 3.14
{
"name": "gemini-file-search-tool",
"owner": {
"name": "Dennis Vriend",
"email": "dvriend@ilionx.com",
"url": "https://github.com/dnvriend/gemini-file-search-tool"
},
"plugins": [
{
"name": "gemini-file-search-tool",
"source": "./plugins/gemini-file-search-tool",
"description": "Manage Gemini File Search stores and query with RAG"
}
]
}Facts
- Kind
- Marketplace
- Repo
- dnvriend/gemini-file-search-tool
- Group
- Uncategorized
- Stars
- 0
- Marketplace name
- gemini-file-search-tool
- Owner
- Dennis Vriend
- License
- MIT
- Language
- Python
- Created
- 2025-11-14
- Last push
- 2025-12-31
- Forks
- 1
- Plugins
- 1
From the same owner
- 2179dnvriend/gemini-google-maps-tooldnvriend/gemini-google-maps-tool0
- 2180dnvriend/gemini-google-search-tooldnvriend/gemini-google-search-tool0
- 2181dnvriend/openai-tts-tooldnvriend/openai-tts-tool0
- 2182dnvriend/paste-image-to-file-tooldnvriend/paste-image-to-file-tool0
- 1338dnvriend/ollama-deepseek-ocr-tooldnvriend/ollama-deepseek-ocr-tool4
- 1453dnvriend/gemini-nano-banana-tooldnvriend/gemini-nano-banana-tool3