Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/anomalyco/opencode
/ websearch.ts
File
websearch.ts
packages/core/src/tool/websearch.ts:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
export
* as WebSearchTool from
"./websearch"
2
3
import
{ ToolFailure } from
"@opencode-ai/llm"
4
import
{ Context, Duration, Effect, Layer, Schema } from
"effect"
Callers
nothing calls this directly
Calls
7
truthy
Function · 0.90
callMcp
Function · 0.85
exaUrl
Function · 0.85
sync
Method · 0.80
parsePayload
Function · 0.70
selectProvider
Function · 0.70
make
Method · 0.45
Tested by
no test coverage detected