caddy_create_plugin
Creates a new Caddy plugin with a Go module structure, using a plugin name, target directory, and Go module path.
Instructions
Create a new Caddy plugin with Go module structure
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": {
"name": "<name>",
"directory": "<directory>",
"module_path": "<module_path>"
},
"name": "caddy_create_plugin"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Plugin name (will be used as module name) | |
| author | No | Plugin author | Claude Code |
| directory | Yes | Directory where plugin should be created | |
| description | No | Plugin description | |
| module_path | Yes | Go module path (e.g., github.com/user/plugin) |