wordpress_write_file
Create or modify WordPress files with security validation and optional backup functionality for safe file management operations.
Instructions
Write or create file with security validation and optional backup
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| content | Yes | ||
| createBackup | Yes |
Input Schema (JSON Schema)
{
"properties": {
"content": {
"type": "string"
},
"createBackup": {
"type": "boolean"
},
"path": {
"type": "string"
}
},
"required": [
"path",
"content",
"createBackup"
],
"type": "object"
}