Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ClearCacheInput ¶
type ClearCacheInput struct{}
type ClearCacheOutput ¶
type ClearCacheOutput struct {
Success bool `json:"success" jsonschema:"A boolean for whether the cache clearing succeeded"`
}
func ClearCache ¶
func ClearCache(ctx context.Context, req *mcp.CallToolRequest, input ClearCacheInput) (*mcp.CallToolResult, ClearCacheOutput, error)
type FetchCategoriesInput ¶
type FetchCategoriesInput struct{}
type FetchCategoriesOutput ¶
type FetchCategoriesOutput struct {
Categories string `json:"categories" jsonschema:"the possible categories than can be used in fetch_documentation_category_markdown"`
}
func FetchCategories ¶
func FetchCategories(ctx context.Context, req *mcp.CallToolRequest, input FetchCategoriesInput) (*mcp.CallToolResult, FetchCategoriesOutput, error)
type FetchCategoryMarkdownInput ¶
type FetchCategoryMarkdownInput struct {
Category string `json:"url" jsonschema:"the name of the category from the fetch_documentation_categories tool"`
}
type FetchCategoryMarkdownOutput ¶
type FetchCategoryMarkdownOutput struct {
MarkdownContent string `json:"markdown_content" jsonschema:"markdown from the requested url"`
}
func FetchCategoryMarkdown ¶
func FetchCategoryMarkdown(ctx context.Context, req *mcp.CallToolRequest, input FetchCategoryMarkdownInput) (*mcp.CallToolResult, FetchCategoryMarkdownOutput, error)
type FetchDocumentationUrlsInput ¶
type FetchDocumentationUrlsInput struct{}
type FetchDocumentationUrlsOutput ¶
type FetchDocumentationUrlsOutput struct {
UrlsList string `json:"urls_list" jsonschema:"all the documentation paths and their urls"`
}
func FetchUrls ¶
func FetchUrls(ctx context.Context, req *mcp.CallToolRequest, input FetchDocumentationUrlsInput) (*mcp.CallToolResult, FetchDocumentationUrlsOutput, error)
type FetchMarkdownInput ¶
type FetchMarkdownInput struct {
URL string `json:"url" jsonschema:"the url of the gofs markdown documentation"`
}
type FetchMarkdownOutput ¶
type FetchMarkdownOutput struct {
MarkdownContent string `json:"markdown_content" jsonschema:"markdown from the requested url"`
}
func FetchMarkdown ¶
func FetchMarkdown(ctx context.Context, req *mcp.CallToolRequest, input FetchMarkdownInput) (*mcp.CallToolResult, FetchMarkdownOutput, error)
Click to show internal directories.
Click to hide internal directories.