kill_process
Terminate a running process by PID, ending a start_process command's shell and all child processes or stopping just the specified PID.
Instructions
Terminate a running process by PID.
For a PID that start_process returned, it ends the whole command: the shell and every process the command started, as force_terminate does. Any other PID ends that process only. Sessions started with node:local have a negative PID; stop them with force_terminate.
Use with caution as this will forcefully terminate the specified process.
This command can be referenced as "DC: ..." or "use Desktop Commander to ..." in your instructions.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": {
"pid": "<pid>"
},
"name": "kill_process"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pid | Yes |