find_event_emitter_leaks
Detects EventEmitter listeners registered without cleanup, preventing memory leaks in JavaScript and TypeScript code.
Instructions
EventEmitter listeners registered without their cleanup pair in the same scope (heuristic).
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": {
"name": "<name>"
},
"name": "find_event_emitter_leaks"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Name or path of the loaded project |