MCPcopy Create free account
hub / github.com/cli/cli / onPostToolUse

Function onPostToolUse

evals/src/core/session.ts:9–13  ·  view source on GitHub ↗
(input, invocation)

Source from the content-addressed store, hash-verified

7 hooks: {
8 ...config.hooks,
9 async onPostToolUse(input, invocation) {
10 const output = await config.hooks?.onPostToolUse?.(input, invocation);
11 await action();
12 return output;
13 },
14 },
15 };
16}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected