Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DirGrep ¶ added in v0.2.0
func DirGrep(ctx context.Context, req *mcp.CallToolRequest, args DirGrepParams) (*mcp.CallToolResult, any, error)
func GetMcpServer ¶ added in v0.2.0
Types ¶
type DirGrepParams ¶ added in v0.2.0
type DirGrepParams struct {
Directory string `json:"directory" jsonschema:"Path to the directory to perform the grep operations within"`
Pattern string `json:"pattern" jsonschema:"Pattern to use for grep operations"`
Context int `json:"context" jsonschema:"Context padding around the match (number of charachters)."`
SkipDirs []string `` /* 130-byte string literal not displayed */
Recursive bool `json:"recursive" jsonschema:"Whether or not to perform the grep operations recursively within the specified directory"`
Pretty bool `json:"pretty" jsonschema:"Whether or not to retrieve results with match highlighting (most of the times not needed)"`
}
Click to show internal directories.
Click to hide internal directories.