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

Method formatValidationError

packages/opencode/src/tool/tool.ts:64–64  ·  view source on GitHub ↗
(error: unknown)

Source from the content-addressed store, hash-verified

62 jsonSchema?: JSONSchema7
63 execute(args: Schema.Schema.Type<Parameters>, ctx: Context): Effect.Effect<ExecuteResult<M>>
64 formatValidationError?(error: unknown): string
65}
66export type DefWithoutID<
67 Parameters extends Schema.Decoder<unknown> = Schema.Decoder<unknown>,

Callers 1

wrapFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected