opnsense_list_services
Retrieve OPNsense services and their running state. Use filters to locate a service ID before restarting or controlling it.
Instructions
List services registered with OPNsense and whether each one is running.
Covers core services (unbound, openvpn, ntpd) and plugin services (crowdsec, wireguard, os-* plugins). Use this to get the exact service id before calling opnsense_control_service.
Args: params (ListServicesInput): Validated input containing: - search (str): Substring filter on name/description (default: "") - running_only (bool): Only running services (default: False) - limit (int): Max records, 1-200 (default: 25) - offset (int): Records to skip (default: 0) - response_format (ResponseFormat): 'markdown' or 'json'
Returns: str: Markdown table, or JSON with this schema: { "total": int, "count": int, "offset": int, "has_more": bool, "next_offset": int|null, "services": [ {"name": str, "description": str, "running": int, "locked": int} ] }
Examples: - Use when: "Is unbound running?" -> search="unbound" - Use when: "What services are stopped?" -> running_only=False, then read the column - Don't use when: You want to restart something (use opnsense_control_service)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| params | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |