caddy_deploy_plugin
Deploy a Caddy plugin to production by safely replacing the current Caddy binary with a backup and optional Caddyfile validation.
Instructions
Deploy plugin to production by safely replacing Caddy binary with 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_path": "<plugin_path>"
},
"name": "caddy_deploy_plugin"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| backup_dir | No | Directory to store backup of current binary | /opt/caddy/backups |
| plugin_path | Yes | Path to the plugin directory to deploy | |
| caddy_binary | No | Path to current Caddy binary to replace | /usr/bin/caddy |
| validate_config | No | Path to Caddyfile to validate with new binary |