Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Docs ¶
type Docs struct {
// contains filtered or unexported fields
}
Docs represents a tool for fetching and returning Firebolt documentation. It provides access to documentation articles that explain Firebolt concepts and functionality.
func NewDocs ¶
func NewDocs(docsFetcher DocsResourcesFetcher, disableResources bool, isCore bool) *Docs
NewDocs creates a new instance of the Docs tool with the provided documentation fetcher. It requires an implementation for fetching documentation articles.
type DocsResourcesFetcher ¶
type DocsResourcesFetcher interface {
// FetchDocsResources retrieves documentation content for a specified article.
// If article is empty, the implementation should determine an appropriate default behavior.
FetchDocsResources(_ context.Context, article string) (*mcp.ReadResourceResult, error)
}
DocsResourcesFetcher defines the interface for retrieving documentation resources. Implementations should provide methods to fetch Firebolt documentation.
Click to show internal directories.
Click to hide internal directories.