@@ -93,6 +93,8 @@ class PaginatedRequest(
9393 """Base class for paginated requests,
9494 matching the schema's PaginatedRequest interface."""
9595
96+ params : PaginatedRequestParams | None = None
97+
9698
9799class Notification (BaseModel , Generic [NotificationParamsT , MethodT ]):
98100 """Base class for JSON-RPC notifications."""
@@ -369,7 +371,6 @@ class ListResourcesRequest(PaginatedRequest[Literal["resources/list"]]):
369371 """Sent from the client to request a list of resources the server has."""
370372
371373 method : Literal ["resources/list" ]
372- params : PaginatedRequestParams | None = None
373374
374375
375376class Annotations (BaseModel ):
@@ -433,7 +434,6 @@ class ListResourceTemplatesRequest(
433434 """Sent from the client to request a list of resource templates the server has."""
434435
435436 method : Literal ["resources/templates/list" ]
436- params : PaginatedRequestParams | None = None
437437
438438
439439class ListResourceTemplatesResult (PaginatedResult ):
@@ -579,7 +579,6 @@ class ListPromptsRequest(PaginatedRequest[Literal["prompts/list"]]):
579579 """Sent from the client to request a list of prompts and prompt templates."""
580580
581581 method : Literal ["prompts/list" ]
582- params : PaginatedRequestParams | None = None
583582
584583
585584class PromptArgument (BaseModel ):
@@ -710,7 +709,6 @@ class ListToolsRequest(PaginatedRequest[Literal["tools/list"]]):
710709 """Sent from the client to request a list of tools the server has."""
711710
712711 method : Literal ["tools/list" ]
713- params : PaginatedRequestParams | None = None
714712
715713
716714class ToolAnnotations (BaseModel ):
@@ -744,7 +742,7 @@ class ToolAnnotations(BaseModel):
744742
745743 idempotentHint : bool | None = None
746744 """
747- If true, calling the tool repeatedly with the same arguments
745+ If true, calling the tool repeatedly with the same arguments
748746 will have no additional effect on the its environment.
749747 (This property is meaningful only when `readOnlyHint == false`)
750748 Default: false
0 commit comments