Documentation
¶
Overview ¶
Package websearch provides a tool for searching the web via DuckDuckGo.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Inputs ¶
type Inputs struct {
// Query is the search query string.
Query string `json:"query" jsonschema:"required,description=Search query" validate:"required"`
// MaxResults is the number of results to return (default 5, max 20).
MaxResults int `json:"max_results,omitempty" jsonschema:"description=Number of results (default 5, max 20)"`
}
Inputs defines the parameters for the WebSearch tool.
Click to show internal directories.
Click to hide internal directories.