Skip to main content

Documentation Index

Fetch the complete documentation index at: https://gofastmcp.com/llms.txt

Use this file to discover all available pages before exploring further.

fastmcp.server.transforms.tool_transform

Transform for applying tool transformations.

Classes

ToolTransform

Applies tool transformations to modify tool schemas. Wraps ToolTransformConfig to apply argument renames, schema changes, hidden arguments, and other transformations at the transform level. Methods:

list_tools

list_tools(self, tools: Sequence[Tool]) -> Sequence[Tool]
Apply transforms to matching tools.

get_tool

get_tool(self, name: str, call_next: GetToolNext) -> Tool | None
Get tool by transformed name.