MCPcopy Create free account
hub / github.com/GongShichen/LuminaCode / GrepSearchInput

Struct GrepSearchInput

tools/builtin.go:545–552  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

543}
544
545type GrepSearchInput struct {
546 Pattern string `json:"pattern" jsonschema_description:"The regular expression pattern to search for"`
547 Path string `json:"path,omitempty" jsonschema:"default=." jsonschema_description:"File or directory to search in"`
548 Glob string `json:"glob,omitempty" jsonschema:"nullable,default=null" jsonschema_description:"Glob pattern to filter files (e.g. '*.py')"`
549 HeadLimit *int `json:"head_limit,omitempty" jsonschema:"default=250" jsonschema_description:"Maximum number of matching lines to return"`
550 OutputMode string `json:"output_mode,omitempty" jsonschema:"enum=content,enum=files_with_matches,enum=count,default=files_with_matches" jsonschema_description:"Output mode: 'content', 'files_with_matches', or 'count'"`
551 CaseInsensitive bool `json:"case_insensitive,omitempty" jsonschema:"default=false" jsonschema_description:"Case insensitive search"`
552}
553
554type GrepSearchTool struct{ BaseTool }
555

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected