davsclaus commented on code in PR #30764:
URL: https://github.com/apache/camel/pull/30764#discussion_r4700257499
##########
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:
Fixed in 7ee93d65c9: the note is gone from the `@param`, and the canonical
constructor (the new 4-argument one, which the `meta` component added) has
`@since 4.24`, so the version stays documented.
_Claude Code on behalf of davsclaus_
--
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]