fast_edit_blocks
Perform precise multi-block text edits in files simultaneously, ensuring accurate replacements and optional backups. Integrates with the fast-filesystem-mcp server for reliability.
Instructions
여러개의 정교한 블록 편집을 한 번에 처리 (fast_edit_block 배열)
Input Schema
Name | Required | Description | Default |
---|---|---|---|
backup | No | 백업 생성 | |
edits | Yes | 정교한 블록 편집 목록 | |
path | Yes | 편집할 파일 경로 |
Input Schema (JSON Schema)
{
"properties": {
"backup": {
"default": true,
"description": "백업 생성",
"type": "boolean"
},
"edits": {
"description": "정교한 블록 편집 목록",
"items": {
"properties": {
"expected_replacements": {
"default": 1,
"description": "예상 교체 횟수",
"type": "number"
},
"new_text": {
"description": "새로운 텍스트",
"type": "string"
},
"old_text": {
"description": "정확히 매칭할 기존 텍스트",
"type": "string"
}
},
"required": [
"old_text",
"new_text"
],
"type": "object"
},
"type": "array"
},
"path": {
"description": "편집할 파일 경로",
"type": "string"
}
},
"required": [
"path",
"edits"
],
"type": "object"
}