wordpress_write_plugin_file
wordpress_write_plugin_fileWrite or modify plugin files with automatic backup creation. Specify plugin, file path, and content to update WordPress plugin files safely.
Instructions
Write or modify a file in a plugin (automatically creates backup)
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": {
"plugin": "<plugin>",
"filePath": "<filePath>",
"content": "<content>"
},
"name": "wordpress_write_plugin_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| plugin | Yes | ||
| filePath | Yes | ||
| content | Yes |