Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/anomalyco/opencode
/ webfetch.ts
File
webfetch.ts
packages/opencode/src/tool/webfetch.ts:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
import
{ Effect, Schema } from
"effect"
2
import
{ HttpClient, HttpClientRequest } from
"effect/unstable/http"
3
import
{ Parser } from
"htmlparser2"
4
import
* as Tool from
"./tool"
Callers
nothing calls this directly
Calls
6
isImageAttachment
Function · 0.90
convertHTMLToMarkdown
Function · 0.70
extractTextFromHTML
Function · 0.70
get
Method · 0.65
execute
Method · 0.65
from
Method · 0.45
Tested by
no test coverage detected