Description
Contrary to whats on the docs, we are not able to add granular permissions to the webfetch and websearch tools.
Eg,
{
"$schema": "https://opencode.ai/config.json",
"permission": {
"webfetch": {
"*": "ask",
"https://en.wikipedia.org/*": "allow"
}
}
}
Plugins
No response
OpenCode version
1.18.25
Steps to reproduce
- Add granular permissions to the
webfetch tool
- Try to run the TUI
- Notice error logged
Screenshot and/or share link
No response
Operating System
macOS
Terminal
Ghostty
Description
Contrary to whats on the docs, we are not able to add granular permissions to the
webfetchandwebsearchtools.Eg,
{ "$schema": "https://opencode.ai/config.json", "permission": { "webfetch": { "*": "ask", "https://en.wikipedia.org/*": "allow" } } }Plugins
No response
OpenCode version
1.18.25
Steps to reproduce
webfetchtoolScreenshot and/or share link
No response
Operating System
macOS
Terminal
Ghostty