MCPcopy Create free account
hub / github.com/decaporg/decap-cms / toolError

Function toolError

packages/decap/src/mcp.ts:99–101  ·  view source on GitHub ↗
(message: string)

Source from the content-addressed store, hash-verified

97}
98
99function toolError(message: string) {
100 return { isError: true, content: [{ type: 'text' as const, text: message }] };
101}

Callers 1

serveMcpFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected