Documentation
¶
Index ¶
- type ExtractInput
- type ExtractReply
- type Provider
- type SearchInput
- type SearchReply
- type Server
- func (srv *Server) Close() error
- func (srv *Server) Extracts(ctx context.Context, req *mcp.CallToolRequest, input ExtractInput) (*mcp.CallToolResult, ExtractReply, error)
- func (srv *Server) Run(ctx context.Context) error
- func (srv *Server) Search(ctx context.Context, req *mcp.CallToolRequest, input SearchInput) (*mcp.CallToolResult, SearchReply, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ExtractInput ¶
type ExtractInput struct {
Url string `json:"url" jsonschema:"the url the web page to extract content from"`
}
type ExtractReply ¶
type ExtractReply struct {
Content string `json:"content" jsonschema:"the content extracted from the web page"`
}
type SearchInput ¶
type SearchReply ¶
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
func (*Server) Extracts ¶
func (srv *Server) Extracts(ctx context.Context, req *mcp.CallToolRequest, input ExtractInput) (*mcp.CallToolResult, ExtractReply, error)
func (*Server) Search ¶
func (srv *Server) Search(ctx context.Context, req *mcp.CallToolRequest, input SearchInput) (*mcp.CallToolResult, SearchReply, error)
Click to show internal directories.
Click to hide internal directories.