gnodet-bot commented on code in PR #30764:
URL: https://github.com/apache/camel/pull/30764#discussion_r4691405779


##########
components/camel-ai/camel-mcp-server-api/src/main/java/org/apache/camel/component/mcp/server/McpToolCallResult.java:
##########
@@ -16,19 +16,35 @@
  */
 package org.apache.camel.component.mcp.server;
 
+import java.util.Collections;
+import java.util.LinkedHashMap;
+import java.util.Map;
+
 /**
  * Result of an MCP tool invocation, pre-sanitized by the bridge: the text is 
safe to return to a remote MCP client and
  * never contains raw route exception messages.
  *
  * @param text              the tool output, or a safe error message when 
{@code isError} is true
  * @param isError           whether the invocation failed
  * @param structuredContent typed JSON output when the tool declares an output 
schema, otherwise {@code null}
+ * @param meta              entries for the {@code _meta} field of the result, 
otherwise {@code null}. Since 4.24.

Review Comment:
   💡 **Nit:** `Since 4.24.` is embedded in the `@param` description rather than 
as a standalone `@since` tag. The record already has `@since 4.22`; for the new 
component, consider a separate `@since` on the class-level doc or just remove 
the inline mention — it doesn't belong in the `@param` description.
   
   ```suggestion
    * @param meta              entries for the {@code _meta} field of the 
result, otherwise {@code null}
   ```



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to