MCP TypeScript SDK (V2) / @modelcontextprotocol/client / index / StandardSchemaV1
StandardSchemaV1
Interfaces
FailureResult
Defined in: packages/core-internal/src/util/standardSchema.ts:56
Properties
issues
readonlyissues: readonlyIssue[]
Defined in: packages/core-internal/src/util/standardSchema.ts:57
Issue
Defined in: packages/core-internal/src/util/standardSchema.ts:60
Properties
message
readonlymessage:string
Defined in: packages/core-internal/src/util/standardSchema.ts:61
path?
readonlyoptionalpath?: readonly (PropertyKey|PathSegment)[]
Defined in: packages/core-internal/src/util/standardSchema.ts:62
Options
Defined in: packages/core-internal/src/util/standardSchema.ts:45
Properties
libraryOptions?
readonlyoptionallibraryOptions?:Record<string,unknown>
Defined in: packages/core-internal/src/util/standardSchema.ts:46
PathSegment
Defined in: packages/core-internal/src/util/standardSchema.ts:65
Properties
key
readonlykey:PropertyKey
Defined in: packages/core-internal/src/util/standardSchema.ts:66
Props
Defined in: packages/core-internal/src/util/standardSchema.ts:41
Extends
Props<Input,Output>
Extended by
Type Parameters
Input
Input = unknown
Output
Output = Input
Properties
types?
readonlyoptionaltypes?:Types<Input,Output>
Defined in: packages/core-internal/src/util/standardSchema.ts:24
Inherited from
StandardTypedV1.Props.types
validate
readonlyvalidate: (value,options?) =>Result<Output> |Promise<Result<Output>>
Defined in: packages/core-internal/src/util/standardSchema.ts:42
Parameters
value
unknown
options?
Returns
Result<Output> | Promise<Result<Output>>
vendor
readonlyvendor:string
Defined in: packages/core-internal/src/util/standardSchema.ts:23
Inherited from
StandardTypedV1.Props.vendor
version
readonlyversion:1
Defined in: packages/core-internal/src/util/standardSchema.ts:22
Inherited from
StandardTypedV1.Props.version
SuccessResult
Defined in: packages/core-internal/src/util/standardSchema.ts:51
Type Parameters
Output
Output
Properties
issues?
readonlyoptionalissues?:undefined
Defined in: packages/core-internal/src/util/standardSchema.ts:53
value
readonlyvalue:Output
Defined in: packages/core-internal/src/util/standardSchema.ts:52
Type Aliases
InferInput
InferInput<
Schema> =StandardTypedV1.InferInput<Schema>
Defined in: packages/core-internal/src/util/standardSchema.ts:69
Type Parameters
Schema
Schema extends StandardTypedV1
InferOutput
InferOutput<
Schema> =StandardTypedV1.InferOutput<Schema>
Defined in: packages/core-internal/src/util/standardSchema.ts:70
Type Parameters
Schema
Schema extends StandardTypedV1
Result
Result<
Output> =SuccessResult<Output> |FailureResult
Defined in: packages/core-internal/src/util/standardSchema.ts:49
Type Parameters
Output
Output