wordpress_write_theme_file
wordpress_write_theme_fileWrite or modify a WordPress theme file, automatically creating a backup of the original.
Instructions
Write or modify a file in a theme (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": {
"theme": "<theme>",
"filePath": "<filePath>",
"content": "<content>"
},
"name": "wordpress_write_theme_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| theme | Yes | ||
| filePath | Yes | ||
| content | Yes |