MCPcopy Create free account
hub / github.com/getsentry/XcodeBuildMCP / emitHandler

Function emitHandler

src/runtime/__tests__/tool-invoker.test.ts:147–151  ·  view source on GitHub ↗
(text: string)

Source from the content-addressed store, hash-verified

145}
146
147function emitHandler(text: string): ToolDefinition['handler'] {
148 return vi.fn(async (_params, ctx) => {
149 ctx.structuredOutput = structuredTextOutput(text);
150 });
151}
152
153function emitErrorHandler(text: string): ToolDefinition['handler'] {
154 return vi.fn(async (_params, ctx) => {

Callers 1

Calls 1

structuredTextOutputFunction · 0.85

Tested by

no test coverage detected