replace_content
Replace text in Godot project files to modify content and trigger file change events for development workflows.
Instructions
Replace text content in a file and emit a file change event.
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>",
"search": "<search>",
"replace": "<replace>"
},
"name": "replace_content"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Path to the file | |
| search | Yes | Text to search for | |
| replace | Yes | Replacement text | |
| all | No | Replace all occurrences |