
Quick Start
Tradeoffs
Agent tools (simpler integration):- ✅ Easy to add to existing agent workflows
- ✅ Let the LLM decide when to use browser
- ❌ No live session URLs for monitoring
- ❌ No video recording support
- ❌ Adds extra LLM call overhead
- ❌ Limited debugging capabilities
- ✅ Rich debugging data (URLs, actions, errors)
- ✅ Live session access for monitoring
- ✅ Video recording support
- ✅ Agent self-assessment
- ✅ No extra LLM calls
- ❌ Requires explicit calls (not agent-driven)
Tool Configuration
All tool adapters support the same configuration options:Available Models
Site Authentication
Pass credentials when executing the tool:Example: Multi-tool Agent
Combine browser automation with other tools:Formatting Results
The tool adapters return concise results suitable for agent consumption. For custom formatting:Migration from Direct Execution
If you’re currently using direct execution and want to try tools: Before (direct execution):Browser tools use a different pattern (
{ tool, execute }) than other Morph tools. Use createBrowserTool() directly with the apiKey option, or use morph.browser.execute() for direct execution.See Also
- Direct Execution - Recommended for most use cases
- browser-use Python SDK - Python integration