Read vhost config
site_get_configRetrieves the raw Nginx or Apache vhost configuration for a site to debug 502 errors or rewrites that are not taking effect.
Instructions
Raw nginx or apache vhost file for a site. Useful for debugging a 502 or a rewrite that is not taking effect.
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": {
"path": "<path>"
},
"name": "site_get_config"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Absolute vhost path, e.g. /www/server/panel/vhost/nginx/example.com.conf |