MCP TypeScript SDK (V2) / @modelcontextprotocol/client / index / StandardSchemaV1Sync
StandardSchemaV1Sync
Interfaces
Props
Defined in: packages/core-internal/src/util/standardSchema.ts:131
Extends
Props<Input,Output>
Type Parameters
Input
Input = unknown
Output
Output = Input
Properties
types?
readonlyoptionaltypes?:Types<Input,Output>
Defined in: packages/core-internal/src/util/standardSchema.ts:21
Inherited from
validate
readonlyvalidate: (value,options?) =>Result<Output>
Defined in: packages/core-internal/src/util/standardSchema.ts:132
Parameters
value
unknown
options?
Returns
Result<Output>
Overrides
vendor
readonlyvendor:string
Defined in: packages/core-internal/src/util/standardSchema.ts:20
Inherited from
version
readonlyversion:1
Defined in: packages/core-internal/src/util/standardSchema.ts:19
Inherited from
Type Aliases
InferInput
InferInput<
Schema> =StandardTypedV1.InferInput<Schema>
Defined in: packages/core-internal/src/util/standardSchema.ts:135
Type Parameters
Schema
Schema extends StandardTypedV1
InferOutput
InferOutput<
Schema> =StandardTypedV1.InferOutput<Schema>
Defined in: packages/core-internal/src/util/standardSchema.ts:136
Type Parameters
Schema
Schema extends StandardTypedV1