Documentation
¶
Overview ¶
Package webfetch provides a tool for fetching web pages and converting them to markdown.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Inputs ¶
type Inputs struct {
// URL is the web page to fetch.
URL string `json:"url" jsonschema:"required,description=URL to fetch (http/https only)" validate:"required,url"`
// Format is the output format: markdown (default), text, or html.
Format string `` /* 129-byte string literal not displayed */
}
Inputs defines the parameters for the WebFetch tool.
type Tool ¶
Tool implements web page fetching with HTML-to-markdown conversion.
func (*Tool) Sandboxable ¶
Sandboxable returns false because the tool makes network calls.
Click to show internal directories.
Click to hide internal directories.