Available Tools
The AI SDK Assistant provides 13+ specialized tools that your AI assistant can use to search SDK documentation, code examples, and technical references. Your AI automatically selects the best tool for your question, but understanding what’s available helps you ask better questions.You don’t need to manually specify which tool to use—your AI assistant (Claude, ChatGPT, etc.) will automatically choose the most appropriate tool based on your query.
General Search Tools
These are the most commonly used tools for broad searches across all content types.search_sdk
Purpose: Intelligent multi-modal search with AI intent mapping Best for:- General questions about SDK features
- Conceptual queries (“how do I…”)
- When you don’t know the exact API name
- Uses AI to understand your intent
- Expands queries with technical synonyms
- Searches across all content types
- “How do I connect to a camera?”
- “What APIs control focus?”
- “Show me how to start live view”
- ✅ Understands natural language
- ✅ Finds relevant results even with vague queries
- ✅ Good for exploratory searches
- ⚠️ Slower than other tools (AI processing time)
- ⚠️ May timeout on very complex queries
search_hybrid
Purpose: Combined semantic and exact match search Best for:- Balanced search when you have some keywords
- Finding specific features with context
- When semantic search alone isn’t precise enough
- Combines vector similarity search with metadata filtering
- Faster than search_sdk (no AI intent mapping)
- Returns results ranked by relevance
- “SetSaveInfo parameters”
- “camera compatibility for focus position”
- “error code 0x80010001”
- ✅ Faster than search_sdk
- ✅ More precise than pure semantic search
- ✅ Good balance of speed and accuracy
- ⚠️ Less flexible with natural language
search_with_intent_analysis
Purpose: Advanced query expansion for complex questions Best for:- Multi-part questions
- Complex technical queries
- When simple search doesn’t return good results
- Deep AI analysis of query intent
- Generates multiple search variations
- Aggregates and ranks results
- “What’s the difference between V1.14 and V2.00 connection APIs?”
- “How do I handle errors when camera disconnects during capture?”
- ✅ Best for complex queries
- ✅ Most intelligent interpretation
- ⚠️ Slowest tool (deep AI processing)
- ⚠️ Higher chance of timeout
- ⚠️ May return too many results
Specialized Search Tools
These tools filter results by content type for more targeted searches.search_code_examples
Purpose: Find working C++ or C# code examples Parameters:language: “cpp” or “csharp”query: What you’re trying to implementtop_k: Number of results (default: 5)
- Getting copy-paste ready code
- Learning SDK usage patterns
- Language-specific implementations
- “capture image” (language: cpp)
- “connect to camera” (language: csharp)
- “handle camera events” (language: cpp)
- ✅ Returns actual working code
- ✅ Language-filtered results
- ✅ Includes context and comments
- ⚠️ Limited to available SDK examples
- ⚠️ May not cover all edge cases
search_documentation
Purpose: Search guides, tutorials, and explanatory text only Best for:- Understanding concepts
- Learning workflows
- Getting high-level overviews
- “camera connection workflow”
- “SDK initialization steps”
- “live view streaming explained”
- ✅ Filters out code and API references
- ✅ Returns readable explanations
- ✅ Good for learning
- ⚠️ Doesn’t include API details
search_api_functions
Purpose: Find API function definitions and signatures Best for:- Looking up function parameters
- Understanding return types
- Finding related functions
- “SetSaveInfo”
- “Connect function”
- “release shutter API”
- ✅ Returns complete function signatures
- ✅ Includes parameter descriptions
- ✅ Fast and precise
- ⚠️ Doesn’t include usage examples
search_compatibility
Purpose: Search camera compatibility tables Best for:- Checking which cameras support specific features
- Model-specific capabilities
- Feature availability by camera
- “which cameras support focus position control”
- “A7 IV live view capabilities”
- “remote capture compatibility”
- ✅ Returns structured compatibility data
- ✅ Model-specific information
- ✅ Helpful for hardware planning
- ⚠️ Only as current as indexed tables
- ⚠️ May not include latest camera models
Exact Match Tools
These tools perform precise lookups using exact names or codes.search_exact_api
Purpose: Look up APIs by exact name Best for:- When you know the API name
- Quick reference lookups
- Finding specific functions
- “SetSaveInfo”
- “Connect”
- “GetDeviceProperty”
- ✅ Fastest tool
- ✅ Most precise results
- ✅ Returns all related documentation
- ⚠️ Requires exact API name
- ⚠️ Won’t find results with typos
search_error_codes
Purpose: Look up SDK error codes Best for:- Debugging error messages
- Understanding error meanings
- Finding solutions to errors
- “0x80010001”
- “SDK_ERROR_TIMEOUT”
- ✅ Quick error resolution
- ✅ Includes error descriptions
- ⚠️ Limited to documented error codes
search_warning_codes
Purpose: Look up SDK warning codes Best for:- Understanding warnings
- Determining if warnings can be ignored
- Warning-specific troubleshooting
- ✅ Specific to warnings (not errors)
- ✅ Helps distinguish warning severity
search_by_source_file
Purpose: Search within specific SDK source files Parameters:file_name: Name of the source filequery: What to search for in that file
- Deep-diving into specific modules
- Understanding file-specific implementations
- Debugging specific components
- file_name: “CameraDevice.cpp”, query: “Connect”
- file_name: “LiveViewProcessor.h”, query: “frame handling”
- ✅ Highly targeted searches
- ✅ Useful for code exploration
- ⚠️ Requires knowing file names
- ⚠️ Very specific use case
Version Management Tools
These tools let you switch between SDK versions or check which version you’re querying.get_sdk_version
Purpose: Check which SDK version is currently active Returns: Current SDK version (e.g., “V2.00.00”) Use case: Verify you’re searching the right versionlist_sdk_versions
Purpose: See all available SDK versions Returns: List of indexed SDK versions (V1.14.00, V2.00.00) Use case: Discover which versions AI SDK Assistant supportsset_sdk_version
Purpose: Switch between SDK versions Parameters:version: “V1.14.00” or “V2.00.00”
- Comparing APIs across versions
- Finding version-specific information
- Working with legacy SDKs
- Set to V1.14.00 to find legacy API documentation
- Switch to V2.00.00 for latest features
System Information Tools
get_sdk_stats
Purpose: View database statistics and performance metrics Returns:- Total indexed content
- Content type breakdown
- Database health status
Tool Selection Guide
When to Use Which Tool
| Your Goal | Recommended Tool | Why |
|---|---|---|
| Explore SDK features | search_sdk | Natural language understanding |
| Find specific API | search_exact_api | Fastest, most precise |
| Get code examples | search_code_examples | Language-filtered code |
| Debug an error | search_error_codes | Error-specific lookup |
| Learn concepts | search_documentation | Text-only explanations |
| Check compatibility | search_compatibility | Hardware-specific data |
| Complex question | search_with_intent_analysis | Advanced AI processing |
| Balanced search | search_hybrid | Speed + accuracy |
Best Practices
Start Broad, Then Narrow
- Begin with
search_sdkfor general questions - If results aren’t precise enough, try
search_hybrid - For exact matches, use
search_exact_api
Known Limitations
- Intent mapping can timeout on very complex queries
- Not all camera models may be in compatibility tables
- Code examples are limited to what’s in the SDK samples
Need Help?
If you’re not getting good results:- Try a different approach - Rephrase your question with more context
- Be specific - Include API names, camera models, or error codes when known
- Check your SDK version - Make sure you’re searching the right version
- Ask your AI assistant - It can help refine your query

