fastmcp.server.transforms.prompts_as_tools
Transform that exposes prompts as tools.
This transform generates tools for listing and getting prompts, enabling
clients that only support tools to access prompt functionality.
Example:
Classes
PromptsAsTools
Transform that adds tools for listing and getting prompts.
Generates two tools:
list_prompts: Lists all prompts from the providerget_prompt: Gets a specific prompt with optional arguments

