@@ -654,12 +654,12 @@ public Mono<McpSchema.ListToolsResult> listTools(String cursor) {
654654 * @param meta Optional metadata to include in the request (_meta field)
655655 * @return A Mono that emits the list of tools result
656656 */
657- public Mono <McpSchema .ListToolsResult > listTools (String cursor , java . util . Map <String , Object > meta ) {
657+ public Mono <McpSchema .ListToolsResult > listTools (String cursor , Map <String , Object > meta ) {
658658 return this .initializer .withInitialization ("listing tools" , init -> this .listToolsInternal (init , cursor , meta ));
659659 }
660660
661661 private Mono <McpSchema .ListToolsResult > listToolsInternal (Initialization init , String cursor ,
662- java . util . Map <String , Object > meta ) {
662+ Map <String , Object > meta ) {
663663
664664 if (init .initializeResult ().capabilities ().tools () == null ) {
665665 return Mono .error (new IllegalStateException ("Server does not provide tools capability" ));
@@ -749,12 +749,11 @@ public Mono<McpSchema.ListResourcesResult> listResources(String cursor) {
749749 * @see McpSchema.ListResourcesResult
750750 * @see #readResource(McpSchema.Resource)
751751 */
752- public Mono <McpSchema .ListResourcesResult > listResources (String cursor , java . util . Map <String , Object > meta ) {
752+ public Mono <McpSchema .ListResourcesResult > listResources (String cursor , Map <String , Object > meta ) {
753753 return this .listResourcesInternal (cursor , meta );
754754 }
755755
756- private Mono <McpSchema .ListResourcesResult > listResourcesInternal (String cursor ,
757- java .util .Map <String , Object > meta ) {
756+ private Mono <McpSchema .ListResourcesResult > listResourcesInternal (String cursor , Map <String , Object > meta ) {
758757 return this .initializer .withInitialization ("listing resources" , init -> {
759758 if (init .initializeResult ().capabilities ().resources () == null ) {
760759 return Mono .error (new IllegalStateException ("Server does not provide the resources capability" ));
@@ -837,13 +836,12 @@ public Mono<McpSchema.ListResourceTemplatesResult> listResourceTemplates(String
837836 * @return A Mono that completes with the list of resource templates result.
838837 * @see McpSchema.ListResourceTemplatesResult
839838 */
840- public Mono <McpSchema .ListResourceTemplatesResult > listResourceTemplates (String cursor ,
841- java .util .Map <String , Object > meta ) {
839+ public Mono <McpSchema .ListResourceTemplatesResult > listResourceTemplates (String cursor , Map <String , Object > meta ) {
842840 return this .listResourceTemplatesInternal (cursor , meta );
843841 }
844842
845843 private Mono <McpSchema .ListResourceTemplatesResult > listResourceTemplatesInternal (String cursor ,
846- java . util . Map <String , Object > meta ) {
844+ Map <String , Object > meta ) {
847845 return this .initializer .withInitialization ("listing resource templates" , init -> {
848846 if (init .initializeResult ().capabilities ().resources () == null ) {
849847 return Mono .error (new IllegalStateException ("Server does not provide the resources capability" ));
@@ -955,11 +953,11 @@ public Mono<ListPromptsResult> listPrompts(String cursor) {
955953 * @see McpSchema.ListPromptsResult
956954 * @see #getPrompt(GetPromptRequest)
957955 */
958- public Mono <ListPromptsResult > listPrompts (String cursor , java . util . Map <String , Object > meta ) {
956+ public Mono <ListPromptsResult > listPrompts (String cursor , Map <String , Object > meta ) {
959957 return this .listPromptsInternal (cursor , meta );
960958 }
961959
962- private Mono <ListPromptsResult > listPromptsInternal (String cursor , java . util . Map <String , Object > meta ) {
960+ private Mono <ListPromptsResult > listPromptsInternal (String cursor , Map <String , Object > meta ) {
963961 return this .initializer .withInitialization ("listing prompts" ,
964962 init -> init .mcpSession ()
965963 .sendRequest (McpSchema .METHOD_PROMPT_LIST , new PaginatedRequest (cursor , meta ),
0 commit comments