write_files_atomic
Write multiple files atomically with backup support to ensure data integrity during file modifications. Provides enterprise-grade safety mechanisms for reliable file operations.
Instructions
✍️ Write multiple files atomically with backup - Enterprise-grade file modification with safety mechanisms
Input Schema
Name | Required | Description | Default |
---|---|---|---|
create_backup | No | ||
file_operations | Yes |
Input Schema (JSON Schema)
{
"properties": {
"create_backup": {
"default": true,
"type": "boolean"
},
"file_operations": {
"items": {
"properties": {
"content": {
"type": "string"
},
"operation": {
"default": "write",
"enum": [
"write",
"append",
"modify"
],
"type": "string"
},
"path": {
"type": "string"
}
},
"required": [
"path",
"content"
],
"type": "object"
},
"type": "array"
}
},
"required": [
"file_operations"
],
"type": "object"
}