MCPcopy Create free account
hub / github.com/atomicdotdev/atomic / startTool

Method startTool

packages/opencode-atomic-hooks/src/session.ts:139–139  ·  view source on GitHub ↗

* Record the start time of a tool invocation for duration tracking. * * @param id - Session ID * @param callId - Unique tool call identifier * @param now - Optional timestamp override for testing

(id: string, callId: string, now?: number)

Source from the content-addressed store, hash-verified

137 * @param now - Optional timestamp override for testing
138 */
139 startTool(id: string, callId: string, now?: number): void
140
141 /**
142 * Complete a tool invocation and return the elapsed duration.

Callers 2

createBeforeToolHandlerFunction · 0.80
session.test.tsFile · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected