LangChain Reference home pageLangChain ReferenceLangChain Reference
  • GitHub
  • Main Docs
Deep Agents
LangChain
LangGraph
Integrations
LangSmith
  • Overview
  • MCP Adapters
    Standard Tests
    Text Splitters
    • Overview
    • Agents
    • Callbacks
    • Chains
    • Chat models
    • Embeddings
    • Evaluation
    • Globals
    • Hub
    • Memory
    • Output parsers
    • Retrievers
    • Runnables
    • LangSmith
    • Storage
    โŒ˜I

    Chat LangChain

    What can I help with?

    Enter to sendยทShift+Enter new line

    Menu

    MCP Adapters
    Standard Tests
    Text Splitters
    OverviewAgentsCallbacksChainsChat modelsEmbeddingsEvaluationGlobalsHubMemoryOutput parsersRetrieversRunnablesLangSmithStorage
    Language
    Theme
    Pythonlangchain-classicchainsnatbotbaseNatBotChainexecute
    Methodโ—Since v1.5

    execute

    Copy
    execute(
        self,
        url: str,
        browser_content: str,
    ) -> str
    View source on GitHub

    Parameters

    NameTypeDescription
    url*str

    URL of the site currently on.

    browser_content*str

    Content of the page as currently displayed by the browser.

    Figure out next browser command to run.

    Example:

    browser_content = "...."
    llm_command = natbot.run("www.google.com", browser_content)