-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.file-search.yaml.example
More file actions
72 lines (61 loc) · 2.24 KB
/
.file-search.yaml.example
File metadata and controls
72 lines (61 loc) · 2.24 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
# Example configuration file for file-search CLI
# Copy this to ~/.file-search.yaml or .file-search.yaml in your project directory
# API Key Configuration
# You can also set via:
# - Environment variables: GOOGLE_API_KEY or GEMINI_API_KEY
# - Command flag: --api-key
# api_key: "your-api-key-here"
# MCP Server Configuration
# Configure which tools are available in the MCP server
# Default: ["query_knowledge_base"]
# You can also set via:
# - Environment variable: MCP_TOOLS=query_knowledge_base,import_file_to_store,list_stores
# - Command flag: file-search mcp --mcp-tools query_knowledge_base,import_file_to_store
# Minimal configuration (default - only query tool)
# mcp_tools:
# - query_knowledge_base
# Balanced configuration (query + discovery)
mcp_tools:
- query_knowledge_base
- list_stores
- list_files
- list_documents
# Full configuration (all tools enabled)
# mcp_tools:
# - query_knowledge_base
# - import_file_to_store
# - upload_file
# - list_stores
# - list_files
# - list_documents
# - create_store
# - delete_store
# - delete_file
# - delete_document
# Or simply enable all tools with:
# mcp_tools:
# - all
# Tool Descriptions:
# - query_knowledge_base: Query the knowledge base with optional metadata filtering
# - import_file_to_store: Import files from Files API into stores
# - upload_file: Upload and index files directly to a store
# - list_stores: List all File Search Stores
# - list_files: List all files in the Gemini Files API
# - list_documents: List documents within a specific store
# - create_store: Create a new File Search Store
# - delete_store: Delete a File Search Store (with optional force flag)
# - delete_file: Delete a file from the Files API
# - delete_document: Delete a document from a store
# Shell Completion Configuration
# Enable or disable dynamic shell completion for resource names
# Default: true
completion_enabled: true
# Cache TTL for completion results (reduces API calls)
# Format: duration string (e.g., "300s", "5m", "1h")
# Default: 300s (5 minutes)
completion_cache_ttl: "300s"
# To disable completion (if it causes performance issues):
# completion_enabled: false
# You can also set via environment variables:
# export COMPLETION_ENABLED=false
# export COMPLETION_CACHE_TTL=600s