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

Function toJsonToolBase

src/cli/commands/tools.ts:44–51  ·  view source on GitHub ↗
(tool: ToolListItem)

Source from the content-addressed store, hash-verified

42};
43
44function toJsonToolBase(tool: ToolListItem): JsonToolBase {
45 return {
46 name: tool.cliName,
47 command: tool.command,
48 description: tool.description,
49 stateful: tool.stateful,
50 };
51}
52
53function withCanonicalWorkflow<T extends object>(
54 tool: ToolListItem,

Callers 2

toFlatJsonToolFunction · 0.85
toGroupedJsonToolFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected