MCP TypeScript SDK (V2)
V1 Docs
Preparing search index...
@modelcontextprotocol/client
fromJsonSchema
fromJsonSchema
Function fromJsonSchema
fromJsonSchema
<
T
=
unknown
>
(
schema
:
JsonSchemaType
,
validator
?:
jsonSchemaValidator
,
)
:
StandardSchemaWithJSON
<
T
,
T
>
Type Parameters
T
=
unknown
Parameters
schema
:
JsonSchemaType
Optional
validator
:
jsonSchemaValidator
Returns
StandardSchemaWithJSON
<
T
,
T
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
V1 Docs
MCP TypeScript SDK (V2)
Loading...