fastmcp.server.transforms.resources_as_tools
Transform that exposes resources as tools.
This transform generates tools for listing and reading resources, enabling
clients that only support tools to access resource functionality.
Example:
Classes
ResourcesAsTools
Transform that adds tools for listing and reading resources.
Generates two tools:
list_resources: Lists all resources and templates from the providerread_resource: Reads a resource by URI

