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
Gregor Žunič cf2ec34e68 added actor to docs 2025-09-19 11:23:16 -07:00
Magnus Müller 82b241ddbb Linter new line 2025-08-26 18:13:11 -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