Skip to main content

wrap_browser_tools

Function wrap_browser_tools 

Source
pub fn wrap_browser_tools(raw: Vec<Arc<dyn Tool>>) -> Vec<Arc<dyn Tool>>
Expand description

Wrap raw MCP tools for browser reliability: every interaction tool becomes a ReliableInteractionTool (forces includeSnapshot on mutations, retries once on a stale uid). Non-mutating tools pass through unchanged. Pure and testable without a browser.