Commit Graph

6 Commits

Author SHA1 Message Date
Cursor Agent 1c70a9dbc5 docs: fix custom tool registry documentation to prevent common pitfalls
- Fix basics.mdx: change browser: Browser to browser_session: BrowserSession
- Fix basics.mdx: use async functions and proper ActionResult return type
- Add Warning about parameter name matching in basics.mdx
- Add Warning and Common Pitfalls section in add.mdx with clear examples
- Update AGENTS.md embedded docs to match

The agent injects special parameters by name matching, not by type.
Using incorrect parameter names (e.g., browser instead of browser_session)
causes tools to fail silently, which was a common user confusion.

Co-authored-by: mailmertunsal <mailmertunsal@gmail.com>
2026-01-18 20:12:46 +00:00
Magnus Müller 02e14b71e2 add tool example browser session 2025-10-23 14:45:21 -07:00
Magnus Müller 73fa4b56db Add Playwright integration example to documentation
This commit adds a new example demonstrating the integration of Playwright with Browser-Use, showcasing how to utilize Playwright for form filling, taking screenshots, and extracting text. The example is linked in the documentation and includes installation instructions and a comprehensive code sample.

- **New Documentation**
- Added a new Playwright integration example in `playwright-integration.mdx`.
- Updated `docs.json` to include the new example in the documentation index.
- Enhanced the `add.mdx` file with references to the Playwright integration example.

This enhances the usability of Browser-Use by providing clear guidance on leveraging Playwright's capabilities alongside it.
2025-09-06 15:13:52 -07:00
Magnus Müller caa0e7ef1b Rename controller to tools instances 2025-08-26 11:30:39 -07:00
Magnus Müller 13dd73b23a Update Tool imports in docs, readme, and docstrings 2025-08-26 11:13:27 -07:00
Magnus Müller 2a27d8c1bf reorder docs files 2025-08-26 10:29:16 -07:00