mirror of
https://github.com/PrefectHQ/fastmcp.git
synced 2026-08-24 14:34:17 +02:00
* Decompose CodeMode into composable discovery tools CodeMode now owns only the execute sandbox. Discovery tools (search, get_schema, etc.) are composable via the discovery_tools parameter. Each is a Callable[[GetToolCatalog], Tool] factory. Ships SearchTool (lightweight name+description results) and SchemaTool (brief markdown or full JSON schemas by tool name) as built-in defaults. * Rename to Search/GetSchemas/Tags, add tag filtering, fix bugs - Rename SearchTool→Search, SchemaTool→GetSchemas, Categories→Tags - Add tags parameter to Search for LLM-side tag filtering - Add Tags discovery tool for browsing tools by tag - Fix shared singleton default factories (now per-instance) - Fix get_schema full mode returning invalid JSON on partial matches - Fix "untagged" filter inconsistency between Tags and Search - Split serialization tests to comply with loq line limit - Rewrite docs for conceptual clarity * Add three-tier detail levels, remove default_arguments, rename Tags→GetTags, rewrite docs * Clean up __all__ exports, return valid JSON for empty full-detail results |
||
|---|---|---|
| .. | ||
| transforms | ||
| __init__.py | ||
| README.md | ||
Experimental Tests
Each directory in this folder tests a discrete experimental feature. The directory structure within each experiment should approximate the "normal" test directory structure to facilitate moving tests into place once/if the experiment is merged into the main codebase.