mnemon_admin_kill_query
Terminate rogue or long-running PostgreSQL queries by PID, query ID, or duration threshold to stop resource drain and restore database stability.
Instructions
Emergency termination of a rogue or long-running query by PID or duration threshold.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "mnemon_admin_kill_query"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pid | No | PostgreSQL backend process ID | |
| query_id | No | Query identifier | |
| duration_sec | No | Kill all queries running longer than this duration (seconds) |