@tools.action(...)
to your function.
description
(required) - What the tool does, the LLM uses this to decide when to call it.allowed_domains
- List of domains where tool can run (e.g. ['*.example.com']
), defaults to all domainsbrowser_session: BrowserSession
- Current browser session for CDP accesscdp_client
- Direct Chrome DevTools Protocol clientpage_extraction_llm: BaseChatModel
- The LLM you pass into agent. This can be used to do a custom llm call here.file_system: FileSystem
- File system accessavailable_file_paths: list[str]
- Available files for upload/processinghas_sensitive_data: bool
- Whether action contains sensitive data