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