Files
letta-code/src/tools/schemas/Edit.json
2025-12-29 13:51:45 -08:00

26 lines
690 B
JSON

{
"type": "object",
"properties": {
"file_path": {
"type": "string",
"description": "The absolute path to the file to modify"
},
"old_string": {
"type": "string",
"description": "The text to replace"
},
"new_string": {
"type": "string",
"description": "The text to replace it with (must be different from old_string)"
},
"replace_all": {
"type": "boolean",
"default": false,
"description": "Replace all occurrences of old_string (default false)"
}
},
"required": ["file_path", "old_string", "new_string"],
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
}