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

Function mapRuntimeToSentryToolRuntime

src/runtime/tool-invoker.ts:277–282  ·  view source on GitHub ↗
(runtime: InvokeOptions['runtime'])

Source from the content-addressed store, hash-verified

275}
276
277function mapRuntimeToSentryToolRuntime(runtime: InvokeOptions['runtime']): SentryToolRuntime {
278 if (runtime === 'daemon' || runtime === 'mcp') {
279 return runtime;
280 }
281 return 'cli';
282}
283
284export class DefaultToolInvoker implements ToolInvoker {
285 constructor(private catalog: ToolCatalog) {}

Callers 1

executeToolMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected