Godot File Patch
godot_file_patchReplace a specified line range in a text file with new content by providing a path, start and end lines, and a replacement, enabling targeted edits without rewriting the entire file.
Instructions
Apply a line-based patch to a text file.
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>",
"startLine": "<startLine>",
"endLine": "<endLine>",
"replacement": "<replacement>"
},
"name": "godot_file_patch"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| endLine | Yes | ||
| startLine | Yes | ||
| replacement | Yes |