Versions in this module Expand all Collapse all v0 v0.7.0 Apr 13, 2026 Changes in this version + const ModeHTML + const ModeMarkdown + const ModeText + var ErrBlockedURL = errors.New("URL targets a blocked internal/private network address") + func BuildTools() []*agent.Tool + func ValidateURLForP2P(rawURL string) error + type FetchResult struct + Content string + ContentLength int + Title string + Truncated bool + URL string + func Fetch(ctx context.Context, rawURL string, mode string, maxLength int, p2pSafe bool) (*FetchResult, error)