MCP TypeScript SDK (V2) / @modelcontextprotocol/client / index / StandardSchemaV1
StandardSchemaV1
Interfaces
FailureResult
Defined in: packages/core-internal/src/util/standardSchema.ts:53
Properties
issues
readonlyissues: readonlyIssue[]
Defined in: packages/core-internal/src/util/standardSchema.ts:54
Issue
Defined in: packages/core-internal/src/util/standardSchema.ts:57
Properties
message
readonlymessage:string
Defined in: packages/core-internal/src/util/standardSchema.ts:58
path?
readonlyoptionalpath?: readonly (PropertyKey|PathSegment)[]
Defined in: packages/core-internal/src/util/standardSchema.ts:59
Options
Defined in: packages/core-internal/src/util/standardSchema.ts:42
Properties
libraryOptions?
readonlyoptionallibraryOptions?:Record<string,unknown>
Defined in: packages/core-internal/src/util/standardSchema.ts:43
PathSegment
Defined in: packages/core-internal/src/util/standardSchema.ts:62
Properties
key
readonlykey:PropertyKey
Defined in: packages/core-internal/src/util/standardSchema.ts:63
Props
Defined in: packages/core-internal/src/util/standardSchema.ts:38
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:21
Inherited from
StandardTypedV1.Props.types
validate
readonlyvalidate: (value,options?) =>Result<Output> |Promise<Result<Output>>
Defined in: packages/core-internal/src/util/standardSchema.ts:39
Parameters
value
unknown
options?
Returns
Result<Output> | Promise<Result<Output>>
vendor
readonlyvendor:string
Defined in: packages/core-internal/src/util/standardSchema.ts:20
Inherited from
StandardTypedV1.Props.vendor
version
readonlyversion:1
Defined in: packages/core-internal/src/util/standardSchema.ts:19
Inherited from
StandardTypedV1.Props.version
SuccessResult
Defined in: packages/core-internal/src/util/standardSchema.ts:48
Type Parameters
Output
Output
Properties
issues?
readonlyoptionalissues?:undefined
Defined in: packages/core-internal/src/util/standardSchema.ts:50
value
readonlyvalue:Output
Defined in: packages/core-internal/src/util/standardSchema.ts:49
Type Aliases
InferInput
InferInput<
Schema> =StandardTypedV1.InferInput<Schema>
Defined in: packages/core-internal/src/util/standardSchema.ts:66
Type Parameters
Schema
Schema extends StandardTypedV1
InferOutput
InferOutput<
Schema> =StandardTypedV1.InferOutput<Schema>
Defined in: packages/core-internal/src/util/standardSchema.ts:67
Type Parameters
Schema
Schema extends StandardTypedV1
Result
Result<
Output> =SuccessResult<Output> |FailureResult
Defined in: packages/core-internal/src/util/standardSchema.ts:46
Type Parameters
Output
Output