MCPcopy Create free account
hub / github.com/bearlyai/OpenADE / paramsError

Function paramsError

projects/runtime-protocol/src/protocol.ts:370–372  ·  view source on GitHub ↗
(path: string, message: string)

Source from the content-addressed store, hash-verified

368}
369
370function paramsError(path: string, message: string): RuntimeValidationResult<never> {
371 return validationError(path, message, "invalid_params")
372}
373
374function isRecord(value: unknown): value is Record<string, unknown> {
375 return typeof value === "object" && value !== null && !Array.isArray(value)

Callers 5

paramsRecordFunction · 0.70
optionalStringFunction · 0.70
requiredStringFunction · 0.70

Calls 1

validationErrorFunction · 0.85

Tested by

no test coverage detected