basic

command
v0.2.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 1, 2026 License: MIT Imports: 7 Imported by: 0

Documentation

Overview

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL