-
Notifications
You must be signed in to change notification settings - Fork 0
Description
The Claude Code GitHub Action currently disables WebSearch and WebFetch tools by default for security reasons. This is an intentional design decision in the claude-code-action where these capabilities are explicitly blocked in "tag mode" (when triggered via @claude mentions).
When attempting to ask Claude for web-based research (see issue #8 comment), Claude cannot fulfill the request because the tools are unavailable. The workflow summary shows:
"Claude requested permissions to use WebSearch, but you haven't granted it yet."
"Claude requested permissions to use WebFetch, but you haven't granted it yet."
Enabling these tools would allow Claude to:
- Search the web for documentation, best practices, and solutions
- Fetch content from URLs to analyze documentation or specifications
- Provide more informed responses to research-oriented requests
Security considerations:
- WebSearch queries are sent to external search providers
- WebFetch can retrieve content from arbitrary URLs
- Both tools could potentially leak context about the repository or queries
- The action maintainers disabled these by default citing "security"
To enable, the workflow would need:
claude_args: '--allowedTools "Bash(go:*),WebSearch,WebFetch"'This issue exists to discuss whether enabling web access aligns with this repository's security posture before making any changes.