MCPcopy Index your code
hub / github.com/getsentry/XcodeBuildMCP / runInvocation

Function runInvocation

src/cli/register-tool-commands.ts:443–456  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

441 });
442
443 const runInvocation = () =>
444 invoker.invokeDirect(tool, args, {
445 runtime: 'cli',
446 renderSession: session,
447 handlerContext,
448 onProgress: writeJsonlFragment,
449 onStructuredOutput: (structuredOutput) => {
450 handlerContext.structuredOutput = structuredOutput;
451 },
452 cliExposedWorkflowIds,
453 socketPath,
454 workspaceRoot: opts.workspaceRoot,
455 logLevel,
456 });
457
458 if (outputFormat === 'raw') {
459 await transcriptEmitterStorage.run((fragment) => session.emit(fragment), runInvocation);

Callers 1

registerToolSubcommandFunction · 0.85

Calls 1

invokeDirectMethod · 0.80

Tested by

no test coverage detected