Join the FastMCP community!
fastmcp.resources.typesTextResource read read(self) -> str
BinaryResource read read(self) -> bytes
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) -> str | bytes
HttpResource read read(self) -> str | bytes
DirectoryResource validate_absolute_path validate_absolute_path(cls, path: Path) -> Path
list_files list_files(self) -> list[Path]
read read(self) -> str