| 543 | } |
| 544 | |
| 545 | type 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 | |
| 554 | type GrepSearchTool struct{ BaseTool } |
| 555 |
nothing calls this directly
no outgoing calls
no test coverage detected