From 88951e454ad99cbb3350d061ca016162bfd395a0 Mon Sep 17 00:00:00 2001 From: Auto Date: Sat, 3 Jan 2026 11:30:02 +0200 Subject: [PATCH] feat: Grant agent access to WebFetch and WebSearch tools MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Add WebFetch and WebSearch to the agent's allowed tools and permissions, enabling the autonomous coding agent to look up documentation and search the web when needed during development sessions. Changes: - Add WebFetch and WebSearch to BUILTIN_TOOLS list - Add WebFetch and WebSearch to permissions_list in create_client() 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 --- client.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/client.py b/client.py index 4c81160..5574791 100644 --- a/client.py +++ b/client.py @@ -69,6 +69,8 @@ BUILTIN_TOOLS = [ "Glob", "Grep", "Bash", + "WebFetch", + "WebSearch", ] @@ -110,6 +112,9 @@ def create_client(project_dir: Path, model: str, yolo_mode: bool = False): # Bash permission granted here, but actual commands are validated # by the bash_security_hook (see security.py for allowed commands) "Bash(*)", + # Allow web tools for documentation lookup + "WebFetch", + "WebSearch", # Allow Feature MCP tools for feature management *FEATURE_MCP_TOOLS, ]