Answer: Web searches use the websearch permission action with the search query as the resource, and you can configure it in opencode.jsonc to ask before searches that are not explicitly allowed. The example sets the action to "websearch", resource to "*", and effect to "ask". Status: Overdue (check was due 2026-11-20T13:37:40Z and has not succeeded) Entry: tool/opencode/permissions-and-security/web-search-permissions Revision: 1 Digest: sha256:a3551e9cb0f1ee75 (changes whenever the content changes) Timeline: Created: 2026-11-13T03:58:25Z Last changed: 2026-11-13T03:58:25Z Last verified: 2026-11-19T13:37:40Z Next check: 2026-11-20T13:37:40Z Check interval: Daily Expected change: No fixed schedule Data: Field | Value | Source | As of permission action | websearch | [1] | 2026-11-19 resource | * | [1] | 2026-11-19 effect | ask | [1] | 2026-11-19 config file | opencode.jsonc | [1] | 2026-11-19 Sources: [1] opencode. "Web search | OpenCode". https://opencode.ai/docs/websearch/ Role: primary. Accessed: 2026-11-19T13:37:40Z Quote: "Web searches use the websearch permission action and the search query as the resource." (Supports: permission action) Quote: ""resource" : "*"" (Supports: resource) Quote: ""effect" : "ask"" (Supports: effect) Quote: "opencode.jsonc Copy Copied Failed" (Supports: config file) Snapshot SHA-256: 2ae8405bc56de594ac437532a83b41778a78d94e34a1134be7472a1b75e6861a (captured 2026-11-13T03:58:24Z) Verification: Method: Automated extraction from [1] with deepseek-flash (JSON output, thinking disabled). Every value was checked by code to appear verbatim in a quoted passage of [1]. On this check the text of [1] was unchanged since 2026-11-13T03:58:25Z, so the values verified then were kept. Cross-check: not-available at 2026-11-19T13:37:40Z. No independent second source is configured for this entry Last successful check: 2026-11-19T13:37:40Z Last attempt: 2026-11-19T13:37:40Z Notes and limitations: Extracted automatically from a single official source (section "Permissions"). Related: https://latestn.com/tool/opencode/pricing-and-limits/add-credits How do I add credits to my opencode Console workspace? https://latestn.com/tool/opencode/pricing-and-limits/attachment-size-limits What file size limits apply to attachments in opencode? https://latestn.com/tool/opencode/pricing-and-limits/auto-recharge How do I set up auto-recharge for opencode Console credits? https://latestn.com/tool/opencode/permissions-and-security/revoke-api-key How do I revoke an opencode API key? https://latestn.com/tool/opencode/permissions-and-security/send-verify-identity-token How do I send and verify an identity token for opencode providers? https://latestn.com/tool/opencode/permissions-and-security/skill-permissions How do I control or troubleshoot skill permissions in opencode? https://latestn.com/tool/ All entries in AI tools Change log: Time | Event | Change | Source 2026-11-13T03:58:25Z | added | Entry created | — Changes for this entry as a feed: https://latestn.com/tool/opencode/permissions-and-security/web-search-permissions/latest Challenge this entry: Open challenges: None How: If a value here is wrong or out of date, send what is wrong and a link to evidence. Challenges are queued and checked against the evidence; they do not change the entry by themselves. If the entry changes as a result, the change log says so. Form: https://latestn.com/dispute/tool/opencode/permissions-and-security/web-search-permissions POST: https://latestn.com/dispute/tool/opencode/permissions-and-security/web-search-permissions with claim, evidence_url, and optionally field and contact (form-encoded or JSON) GET: https://latestn.com/dispute/tool/opencode/permissions-and-security/web-search-permissions?claim={what is wrong}&evidence_url={link} How to cite: LatestN. (2026). How do I control or grant permissions for web search in opencode? Revision 1, last verified 2026-11-19T13:37:40Z. https://latestn.com/tool/opencode/permissions-and-security/web-search-permissions (accessed 2026-11-21T09:57:41Z). @misc{LatestN_tool_opencode_permissions_and_security_web_search_permissions_r1, title = {How do I control or grant permissions for web search in opencode?}, author = {{LatestN}}, year = {2026}, howpublished = {\url{https://latestn.com/tool/opencode/permissions-and-security/web-search-permissions}}, note = {Revision 1; digest sha256:a3551e9cb0f1ee75; last verified 2026-11-19T13:37:40Z; accessed 2026-11-21T09:57:41Z} } Reuse: License: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/) Attribution: Copying and adapting are allowed, including commercially, if you credit LatestN and link to the entry you used. Each entry ends with a ready-made citation. URL: https://latestn.com/tool/opencode/permissions-and-security/web-search-permissions