glm_file_edit
Replace a target string with a new string in a specified file. Enables simple find-and-replace operations.
Instructions
파일을 수정합니다 (문자열 교체).
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"path": "<path>",
"old_string": "<old_string>",
"new_string": "<new_string>"
},
"name": "glm_file_edit"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | 수정할 파일 경로 | |
| old_string | Yes | 찾을 문자열 | |
| new_string | Yes | 바꿀 문자열 |