Convert Nginx or Apache Config to Caddyfile
transpile_to_caddyfileTranspile Nginx (nginx.conf, server blocks) or Apache (.htaccess, VirtualHost) web server configuration to clean, idiomatic Caddyfile with migration advisories.
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": {
"config_content": "<config_content>"
},
"name": "transpile_to_caddyfile"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| server_type | No | Optional source server type: "nginx" or "apache". If omitted, auto-detected from content syntax. | |
| config_content | Yes | The raw web server configuration string (nginx.conf, server block, .htaccess, or VirtualHost) to transpile. |