list_virtual_hosts
Inspect active Nginx virtual hosts, listening ports, SSL settings, and reverse proxy targets to identify server configurations.
Instructions
Inspect active Nginx virtual hosts, listening ports, SSL, and reverse proxy targets.
Returns: JSON string with parsed virtual hosts from /etc/nginx/sites-enabled/ and conf.d/.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "list_virtual_hosts"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |