Skip to content

Commit 2741ca2

Browse files
TomorJMvorburger
andauthored
Update core/src/main/java/com/google/adk/tools/mcp/McpAsyncTool.java
Co-authored-by: Michael Vorburger <[email protected]>
1 parent 26afc43 commit 2741ca2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/src/main/java/com/google/adk/tools/mcp/McpAsyncTool.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ public Schema toGeminiSchema(JsonSchema openApiSchema) {
111111
try {
112112
return Schema.fromJson(jsonString);
113113
} catch (Exception e) {
114-
throw new McpToolSchemaException(String.format("MCP async tool:%s, schema:%s failed to convert openApiSchema to GeminiSchema.", this.name(), jsonString), e);
114+
throw new McpToolSchemaException(String.format("MCP Tool: %s failed to convert OpenAPI to Gemini Schema: %s", this.name(), jsonString), e);
115115
}
116116
}
117117

0 commit comments

Comments
 (0)