LangChain adapter for MCP tools API Documentation
from mcp_use.adapters.langchain_adapter import LangChainAdapter
method
disallowed_toolslist[str] | Nonedefault:"None" list of tool names that should not be available.
def __init__(disallowed_tools: list[str] | None = None):
schemadictrequired The JSON schema to fix.
returnsdictThe fixed JSON schema.
def fix_schema(schema: dict):
Was this page helpful?