get_nginx_status
Checks whether the nginx service is active using systemctl and returns its version string. Provides a read-only status snapshot for verifying nginx operation.
Instructions
Report whether the nginx service is active (via systemctl) and its version string. Read-only.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| running | Yes | ||
| version | Yes | `nginx -v` output, or an explanatory message if it couldn't be determined |