MCP TypeScript SDK (V2)
V1 Docs
Preparing search index...
@modelcontextprotocol/client
index
getSchemaShape
Function getSchemaShape
getSchemaShape
(
schema
:
AnySchema
)
:
Record
<
string
,
AnySchema
>
|
undefined
Gets the shape of an object schema. Returns undefined if the schema is not an object schema.
Parameters
schema
:
AnySchema
Returns
Record
<
string
,
AnySchema
>
|
undefined
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
V1 Docs
MCP TypeScript SDK (V2)
Loading...
Gets the shape of an object schema. Returns undefined if the schema is not an object schema.