caddy_build_plugin
Build a Caddy binary with a custom plugin using xcaddy, specifying the plugin path, Caddy version, and output location.
Instructions
Build Caddy with custom plugin using xcaddy
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_build_plugin"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| output_path | No | Output path for the built Caddy binary | ./caddy |
| plugin_path | Yes | Path to the plugin directory | |
| caddy_version | No | Caddy version to build with | latest |