command
Version:
v0.3.2
Opens a new window with list of versions in this module.
Published: Feb 6, 2026
License: MIT
Opens a new window with license information.
Imports: 7
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Package main demonstrates basic tool discovery with BM25 search.
This example shows how to:
- Create an index with a BM25 searcher
- Register tools from an MCP server
- Perform text-based search
- Use progressive disclosure for documentation
Run with: go run ./examples/basic
Source Files
¶
Click to show internal directories.
Click to hide internal directories.