control_service
Start, stop, or restart a service on a live pfSense appliance to manage network operations; use caution with critical services such as dhcpd, unbound, and sshd.
Instructions
Start, stop, or restart a service on the live pfSense appliance.
WARNING: Stopping critical services (dhcpd, unbound, sshd) will disrupt network operations.
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": {
"service_name": "<service_name>",
"action": "<action>"
},
"name": "control_service"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes | Action to perform ("start", "stop", or "restart") | |
| service_name | Yes | Name of the service (e.g., "dhcpd", "unbound", "ntpd") |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||