Skip to content

Commit 8064889

Browse files
Update SyncMcpToolCallback.java
Signed-off-by: shishuiwuhen2009 <[email protected]>
1 parent 9355543 commit 8064889

File tree

1 file changed

+3
-7
lines changed

1 file changed

+3
-7
lines changed

mcp/common/src/main/java/org/springframework/ai/mcp/SyncMcpToolCallback.java

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -100,13 +100,9 @@ public ToolDefinition getToolDefinition() {
100100
.build();
101101
}
102102

103-
/**
104-
* get tool name
105-
* @return the tool's name
106-
*/
107-
public String getOriginalToolName() {
108-
return this.tool.name();
109-
}
103+
public String getOriginalToolName() {
104+
return this.tool.name();
105+
}
110106

111107
/**
112108
* Executes the tool with the provided input.

0 commit comments

Comments
 (0)