MCPcopy
hub / github.com/web-infra-dev/midscene / destroy

Function destroy

packages/shared/src/agent-tools/base-tools.ts:316–318  ·  view source on GitHub ↗

* Cleanup method - destroy agent and release resources

()

Source from the content-addressed store, hash-verified

314 * Cleanup method - destroy agent and release resources
315 */
316 public async destroy(): Promise<void> {
317 await this.agent?.destroy?.();
318 }
319
320 /**
321 * Get tool definitions

Callers

nothing calls this directly

Calls 1

destroyMethod · 0.65

Tested by

no test coverage detected