search_file
Find case-insensitive matches in a repository file and return the lines with surrounding context.
Instructions
Search within a specific file for a pattern (case-insensitive substring match) and return matching lines with context.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | File path relative to repo root | |
| repo | Yes | Repository identifier (owner/repo) | |
| pattern | Yes | Search pattern (case-insensitive substring) | |
| context_lines | No | Lines of context around matches (0-20, default: 3) |