Ask a question to get started
Enter to send•Shift+Enter new line
Load MCP resources and convert them to LangChain Blob objects.
load_mcp_resources( session: ClientSession, *, uris: str | list[str] | None = None ) -> list[Blob]
session
ClientSession
MCP client session.
uris
str | list[str] | None
None
List of URIs to load. If None, all resources will be loaded.
Dynamic resources will NOT be loaded when None is specified, as they require parameters and are ignored by the MCP SDK's session.list_resources() method.
session.list_resources()