unit_list
List Nginx Unit applications and routes for a specified domain. Provide the domain to get an organized view of configured Unit apps and their routes.
Instructions
List Nginx Unit applications and routes for a domain (CMD_UNIT).
Args: domain: Domain that owns the Unit apps. impersonate: Owning user.
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": {
"domain": "<domain>"
},
"name": "unit_list"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| domain | Yes | ||
| impersonate | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |