emergency_kill_switch
Emergency shutdown of all PM2 processes. Requires kill switch secret. Logs the event to the audit trail. Use only in emergencies.
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": {
"secret": "<secret>"
},
"name": "emergency_kill_switch"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| secret | Yes | Kill switch secret for authorization. | |
| source | No | Who activated the kill switch. | |
| command | No | Command to run. Default: pm2 stop all |