fast_extract_lines
Extract specific lines or ranges from files using pattern matching or line numbers. Supports context lines for detailed analysis within the fast-filesystem-mcp server environment.
Instructions
파일에서 특정 라인들을 추출합니다
Input Schema
Name | Required | Description | Default |
---|---|---|---|
context_lines | No | 패턴 매칭시 앞뒤 컨텍스트 라인 수 | |
end_line | No | 끝 라인 (범위 추출용) | |
line_numbers | No | 추출할 라인 번호들 | |
path | Yes | 파일 경로 | |
pattern | No | 패턴으로 라인 추출 | |
start_line | No | 시작 라인 (범위 추출용) |
Input Schema (JSON Schema)
{
"properties": {
"context_lines": {
"default": 0,
"description": "패턴 매칭시 앞뒤 컨텍스트 라인 수",
"type": "number"
},
"end_line": {
"description": "끝 라인 (범위 추출용)",
"type": "number"
},
"line_numbers": {
"description": "추출할 라인 번호들",
"items": {
"type": "number"
},
"type": "array"
},
"path": {
"description": "파일 경로",
"type": "string"
},
"pattern": {
"description": "패턴으로 라인 추출",
"type": "string"
},
"start_line": {
"description": "시작 라인 (범위 추출용)",
"type": "number"
}
},
"required": [
"path"
],
"type": "object"
}