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

Function formatMcpValue

src/utils/responses/next-step-formatting.ts:69–74  ·  view source on GitHub ↗
(value: NextStepParamValue)

Source from the content-addressed store, hash-verified

67}
68
69function formatMcpValue(value: NextStepParamValue): string {
70 if (typeof value === 'string' || (typeof value === 'object' && value !== null)) {
71 return JSON.stringify(value);
72 }
73 return String(value);
74}
75
76function formatNextStepForMcp(step: NextStep): string {
77 if (!step.tool) {

Callers 1

formatNextStepForMcpFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected