kill_op
Terminate a running MongoDB operation by its opid from current_ops to stop blocking or long-running tasks and restore database responsiveness.
Instructions
Kill a running operation by opid (from current_ops).
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": {
"opid": "<opid>"
},
"name": "kill_op"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| opid | Yes | ||
| connection | No |