fastmcp/docs/servers/transforms
Jeremiah Lowin 59da3e4ed4
Decompose CodeMode into composable discovery tools (#3354)
* 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
2026-03-02 16:35:55 -05:00
..
code-mode.mdx Decompose CodeMode into composable discovery tools (#3354) 2026-03-02 16:35:55 -05:00
namespace.mdx Restructure docs: move transforms to dedicated section (#2956) 2026-01-20 00:38:35 -05:00
namespacing.mdx Restructure docs: move transforms to dedicated section (#2956) 2026-01-20 00:38:35 -05:00
prompts-as-tools.mdx Restructure docs: move transforms to dedicated section (#2956) 2026-01-20 00:38:35 -05:00
resources-as-tools.mdx Restructure docs: move transforms to dedicated section (#2956) 2026-01-20 00:38:35 -05:00
tool-search.mdx Use transforms= kwarg in docs examples 2026-02-27 21:28:34 -05:00
tool-transformation.mdx docs: add context-aware tool factory example (#3264) 2026-02-22 11:24:22 -05:00
transforms.mdx Accept transforms as FastMCP init kwarg 2026-02-27 21:28:34 -05:00