unit_create
Create an empty Nginx Unit application stub for a domain, ready for JSON editing in DirectAdmin.
Instructions
Create an empty Nginx Unit application stub (then edit JSON in the panel).
Args: domain: Domain. name: Application name (saved as domain_name). impersonate: Owning user. confirm: Required.
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": "<name>"
},
"name": "unit_create"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| domain | Yes | ||
| confirm | No | ||
| impersonate | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |