From b20e802259d3f46cf0a4e5ee1078042466e8b20d Mon Sep 17 00:00:00 2001 From: kimsunghyun1995 <48992412+kimsunghyun1995@users.noreply.github.com> Date: Tue, 29 Apr 2025 20:06:22 +0900 Subject: [PATCH] fix: typo specification (#2791) Signed-off-by: kimsunghyun --- .../org/springframework/ai/mcp/McpToolUtils.java | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/mcp/common/src/main/java/org/springframework/ai/mcp/McpToolUtils.java b/mcp/common/src/main/java/org/springframework/ai/mcp/McpToolUtils.java index 4a0cff301..584009525 100644 --- a/mcp/common/src/main/java/org/springframework/ai/mcp/McpToolUtils.java +++ b/mcp/common/src/main/java/org/springframework/ai/mcp/McpToolUtils.java @@ -93,13 +93,13 @@ public final class McpToolUtils { } /** - * Converts a list of Spring AI tool callbacks to MCP synchronous tool specificaiton. + * Converts a list of Spring AI tool callbacks to MCP synchronous tool specification. *

* This method processes multiple tool callbacks in bulk, converting each one to its * corresponding MCP tool specification while maintaining synchronous execution * semantics. * @param toolCallbacks the list of tool callbacks to convert - * @return a list of MCP synchronous tool specificaiton + * @return a list of MCP synchronous tool specification */ public static List toSyncToolSpecification( List toolCallbacks) { @@ -113,7 +113,7 @@ public final class McpToolUtils { * This is a varargs wrapper around {@link #toSyncToolSpecification(List)} for easier * usage when working with individual callbacks. * @param toolCallbacks the tool callbacks to convert - * @return a list of MCP synchronous tool specificaiton + * @return a list of MCP synchronous tool specification */ public static List toSyncToolSpecifications( ToolCallback... toolCallbacks) { @@ -201,7 +201,7 @@ public final class McpToolUtils { } /** - * Converts a list of Spring AI tool callbacks to MCP asynchronous tool specificaiton. + * Converts a list of Spring AI tool callbacks to MCP asynchronous tool specification. *

* This method processes multiple tool callbacks in bulk, converting each one to its * corresponding MCP tool specification while adding asynchronous execution @@ -217,7 +217,7 @@ public final class McpToolUtils { /** * Convenience method to convert a variable number of tool callbacks to MCP - * asynchronous tool specificaiton. + * asynchronous tool specification. *

* This is a varargs wrapper around {@link #toAsyncToolSpecifications(List)} for * easier usage when working with individual callbacks. @@ -264,13 +264,13 @@ public final class McpToolUtils { * This method enables Spring AI tools to be exposed as asynchronous MCP tools that * can be discovered and invoked by language models. The conversion process: *

*

- * The resulting async specificaiton will: + * The resulting async specification will: *