mirror of
https://github.com/PrefectHQ/fastmcp.git
synced 2026-08-23 22:14:18 +02:00
chore: Update SDK documentation (#3313)
Co-authored-by: marvin-context-protocol[bot] <225465937+marvin-context-protocol[bot]@users.noreply.github.com>
This commit is contained in:
parent
f2dd2e5124
commit
902b63f676
31 changed files with 1042 additions and 267 deletions
|
|
@ -0,0 +1,23 @@
|
|||
---
|
||||
title: __init__
|
||||
sidebarTitle: __init__
|
||||
---
|
||||
|
||||
# `fastmcp.server.transforms.search`
|
||||
|
||||
|
||||
Search transforms for tool discovery.
|
||||
|
||||
Search transforms collapse a large tool catalog into a search interface,
|
||||
letting LLMs discover tools on demand instead of seeing the full list.
|
||||
|
||||
Example:
|
||||
```python
|
||||
from fastmcp import FastMCP
|
||||
from fastmcp.server.transforms.search import RegexSearchTransform
|
||||
|
||||
mcp = FastMCP("Server")
|
||||
mcp.add_transform(RegexSearchTransform())
|
||||
# list_tools now returns only search_tools + call_tool
|
||||
```
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue