Kill Process Tree
kill_process_treeTerminate a process and all its child processes by PID, with optional timeout and parent inclusion, to clear stuck or unwanted process trees.
Instructions
结束指定 PID 及其子孙进程。
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_tree"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pid | Yes | ||
| timeout | No | ||
| include_parent | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |