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

Function daemonResult

src/runtime/__tests__/tool-invoker.test.ts:57–74  ·  view source on GitHub ↗
(text: string, opts?: Partial<DaemonToolResult>)

Source from the content-addressed store, hash-verified

55}
56
57function daemonResult(text: string, opts?: Partial<DaemonToolResult>): DaemonToolResult {
58 return {
59 structuredOutput: {
60 schema: 'xcodebuildmcp.output.xcode-bridge-call-result',
61 schemaVersion: '2',
62 result: {
63 kind: 'xcode-bridge-call-result',
64 remoteTool: 'Alpha',
65 didError: false,
66 error: null,
67 succeeded: true,
68 content: [{ type: 'text', text }],
69 },
70 },
71 isError: false,
72 ...opts,
73 };
74}
75
76function structuredTextOutput(text: string): StructuredToolOutput {
77 return {

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected