Ein Verlauf · JSON-Zeilen 51–81 · Fortsetzung
},
"required": [
"skill_id"
],
"additionalProperties": false
},
"strict": true
},
{
"type": "function",
"name": "replace_in_file",
"description": "Ersetzt genau eine passende Textstelle in src/prices.py.",
"parameters": {
"type": "object",
"properties": {
"path": {
"type": "string"
},
"old": {
"type": "string"
},
"new": {
"type": "string"
}
},
"required": [
"path",
"old",
"new"
],
"additionalProperties": false
Gezielte Ersetzung
path wählt die Datei. old ist die vorhandene Textstelle, new ihr Ersatz. Die Runtime prüft zusätzlich, ob diese Änderung erlaubt ist.