MCPcopy Create free account
hub / github.com/danielmiessler/Fabric / FetchPlugin

Struct FetchPlugin

internal/plugins/template/fetch.go:32–32  ·  view source on GitHub ↗

FetchPlugin provides HTTP fetching capabilities with safety constraints: - Only text content types allowed - Size limited to MaxContentSize - UTF-8 validation - Null byte checking

Source from the content-addressed store, hash-verified

30// - UTF-8 validation
31// - Null byte checking
32type FetchPlugin struct{}
33
34// Apply executes fetch operations:
35// - get:URL: Fetches content from URL, returns text content

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected