Overview
Integration details
Anchor Browser package for LangChain is langchain-anchorbrowser, and the current latest version isTool features
| Tool Name | Package | Description | Parameters |
|---|---|---|---|
AnchorContentTool | langchain-anchorbrowser | Extract text content from web pages | url, format |
AnchorScreenshotTool | langchain-anchorbrowser | Take screenshots of web pages | url, width, height, image_quality, wait, scroll_all_content, capture_full_height, s3_target_address |
AnchorWebTaskToolKit | langchain-anchorbrowser | Perform intelligent web tasks using AI (Simple & Advanced modes) | see below |
langchain-anchorbrowser are only a subset of those listed in the Anchor Browser API reference respectively: Get Webpage Content, Screenshot Webpage, and Perform Web Task.
Info: Anchor currently implements SimpleAnchorWebTaskTool and AdvancedAnchorWebTaskTool tools for langchain with browser_use agent. For
AnchorWebTaskToolKit Tools
The difference between each tool in this toolkit is the pydantic configuration structure.| Tool Name | Package | Parameters |
|---|---|---|
SimpleAnchorWebTaskTool | langchain-anchorbrowser | prompt, url |
AdvancedAnchorWebTaskTool | langchain-anchorbrowser | prompt, url, output_schema |
Setup
The integration lives in thelangchain-anchorbrowser package.
Credentials
Use your Anchor Browser Credentials. Get them on Anchor Browser API Keys page as needed.Instantiation
Instantiace easily Anchor Browser tools instances.Invocation
Invoke directly with args
The full available argument list appear above in the tool features table.Invoke with ToolCall
We can also invoke the tool with a model-generated ToolCall, in which case a ToolMessage will be returned:Chaining
We can use our tool in a chain by first binding it to a tool-calling model and then calling it:Use within an agent
API reference
Connect these docs programmatically to Claude, VSCode, and more via MCP for real-time answers.