Prototype of WebSearch extension#56
Open
tony-nekola-silk wants to merge 3 commits intoldayton:mainfrom
Open
Conversation
40da64a to
388d628
Compare
Add config directives to control WebSearch tool approval: - allow-web [pattern]: auto-approve all or matching web searches - ask-web <pattern> [message]: prompt for matching queries - deny-web <pattern> [message]: block matching queries - after-web <pattern> [message]: post-search feedback to AI Follows the existing MCP tool pattern with dedicated web-specific directives for cleaner separation.
- Extend web rules to WebFetch tool (matches against URL) - Add Gemini CLI tool support: google_web_search, web_fetch - Update documentation with tool name mapping table - Add end-to-end tests for WebFetch and Gemini CLI tools
388d628 to
6ed804e
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
allow-web,ask-web,deny-web,after-webdirectives)hookSpecificOutputChanges
web_rulesandafter_web_rulesto Config, parsing logic, and matching functionspost_tool_response()helper for structured JSON output