@@ -223,7 +223,7 @@ export type ImplementationSchema = BaseMetadata & {
223223 version : string ;
224224} ;
225225
226- export type InitializeRequestSchema = {
226+ export type InitializeRequest = {
227227 method : "initialize" ;
228228 params : BaseRequestParams & {
229229 protocolVersion : string ;
@@ -328,19 +328,19 @@ export type ToolAnnotation = {
328328export type Tool = BaseMetadata & {
329329 description ?: string ;
330330 inputSchema :
331- | {
332- type : "object" ;
333- properties : Record < string , unknown > ;
334- required ?: string [ ] ;
335- }
336- | JSONSchema7 ;
331+ | {
332+ type : "object" ;
333+ properties : Record < string , unknown > ;
334+ required ?: string [ ] ;
335+ }
336+ | JSONSchema7 ;
337337 outputSchema ?:
338- | {
339- type : "object" ;
340- properties : Record < string , unknown > ;
341- required ?: string [ ] ;
342- }
343- | JSONSchema7 ;
338+ | {
339+ type : "object" ;
340+ properties : Record < string , unknown > ;
341+ required ?: string [ ] ;
342+ }
343+ | JSONSchema7 ;
344344 annotations ?: ToolAnnotation ;
345345} ;
346346
@@ -361,8 +361,8 @@ export type CallToolResult<T extends StandardSchemaV1 = StandardSchemaV1> =
361361 & {
362362 content : ContentBlock [ ] ;
363363 structuredContent ?:
364- | StandardSchemaV1 . InferOutput < T >
365- | Record < string , unknown > ;
364+ | StandardSchemaV1 . InferOutput < T >
365+ | Record < string , unknown > ;
366366 isError ?: boolean ;
367367 } ;
368368
@@ -537,9 +537,9 @@ export type CreateMessageResult = BaseResult & {
537537 stopReason : "endTurn" | "stopSequence" | "maxTokens" | string ;
538538 role : "user" | "assistant" ;
539539 content :
540- | Omit < TextContent , "type" >
541- | Omit < ImageContent , "type" >
542- | Omit < AudioContent , "type" > ;
540+ | Omit < TextContent , "type" >
541+ | Omit < ImageContent , "type" >
542+ | Omit < AudioContent , "type" > ;
543543} ;
544544
545545// Elicitation
@@ -729,7 +729,7 @@ type RootsListChangedNotification = {
729729
730730export type ClientRequest =
731731 | PingRequest
732- | InitializeRequestSchema
732+ | InitializeRequest
733733 | CompleteRequest
734734 | SetLevelRequest
735735 | GetPromptRequest
0 commit comments