fastmcp.resources
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Join us at the inaugural PyAI Conf in San Francisco on March 10th! Learn More
fastmcp.resources.typesTextResource read read(self) -> ResourceResult
BinaryResource read read(self) -> ResourceResult
FileResource validate_absolute_path validate_absolute_path(cls, path: Path) -> Path
set_binary_from_mime_type set_binary_from_mime_type(cls, is_binary: bool, info: ValidationInfo) -> bool
read read(self) -> ResourceResult
HttpResource read read(self) -> ResourceResult
DirectoryResource validate_absolute_path validate_absolute_path(cls, path: Path) -> Path
list_files list_files(self) -> list[Path]
read read(self) -> ResourceResult