MCPcopy Create free account
hub / github.com/ForestHubAI/edge-agents / WebFetch

Struct WebFetch

go/engine/node/webfetch.go:68–73  ·  view source on GitHub ↗

WebFetch fetches an HTTP(S) URL and emits the cleaned page text. Evaluates the configured URL expression against the scope and writes the extracted text to the bound slot. Control-flow only — not exposed as an LLM tool.

Source from the content-addressed store, hash-verified

66}
67
68// WebFetch fetches an HTTP(S) URL and emits the cleaned page text. In
69// control-flow mode it evaluates the configured URL expression against the scope
70// and writes the extracted text to the bound slot. As a tool, the LLM supplies
71// the URL directly and the output binding is bypassed — the tool returns the
72// text. maxChars stays author-owned in both modes: it is a context budget, not
73// something the model should widen.
74//
75// url is nil when the node is wired as a tool.
76type WebFetch struct {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected