winops_process_kill
Terminate a Windows process by PID. Returns success status and the terminated process ID, or an error if the process is not found or access is denied.
Instructions
Terminate a process by PID (SIGTERM).
Return Format
{"success": bool, "terminated_pid": int}Examples
kill(pid=9876)Errors:
Returns success=false if process not found or access denied.
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": "winops_process_kill"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pid | Yes | PID of the process to terminate. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||