MCPcopy Index your code
hub / github.com/anomalyco/opencode / isOutputSchemaValidationError

Function isOutputSchemaValidationError

packages/opencode/src/mcp/catalog.ts:164–168  ·  view source on GitHub ↗
(error: Error)

Source from the content-addressed store, hash-verified

162}
163
164function isOutputSchemaValidationError(error: Error) {
165 return /can't resolve reference|resolves to more than one schema|outputSchema|schema.*reference|reference.*schema/i.test(
166 error.message,
167 )
168}
169
170export * as McpCatalog from "./catalog"

Callers 1

listToolsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected