MCPcopy Create free account
hub / github.com/codeaashu/claude-code / call

Function call

src/commands/heapdump/heapdump.ts:3–17  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1import { performHeapDump } from '../../utils/heapDumpService.js'
2
3export async function call(): Promise<{ type: 'text'; value: string }> {
4 const result = await performHeapDump()
5
6 if (!result.success) {
7 return {
8 type: 'text',
9 value: `Failed to create heap dump: ${result.error}`,
10 }
11 }
12
13 return {
14 type: 'text',
15 value: `${result.heapPath}\n${result.diagPath}`,
16 }
17}
18
19

Callers

nothing calls this directly

Calls 1

performHeapDumpFunction · 0.85

Tested by

no test coverage detected