Ask a question to get started
Enter to send•Shift+Enter new line
Load MCP prompt and convert to LangChain messages.
load_mcp_prompt( session: ClientSession, name: str, *, arguments: dict[str, Any] | None = None ) -> list[HumanMessage | AIMessage]
session
ClientSession
The MCP client session.
name
str
Name of the prompt to load.
arguments
dict[str, Any] | None
None
Optional arguments to pass to the prompt.