Uses of Class
org.apache.juneau.bean.mcp.v20260728.CallToolResult
Packages that use CallToolResult
Package
Description
Juneau
@Marshalled types for the Model Context Protocol (MCP) wire format.Typed MCP client adapter for revision
2026-07-28.-
Uses of CallToolResult in org.apache.juneau.bean.mcp.v20260728
Methods in org.apache.juneau.bean.mcp.v20260728 that return CallToolResultModifier and TypeMethodDescriptionCallToolResult.addContent(Collection<Content> value) Appends to the content blocks.CallToolResult.addContent(Content... value) Appends to the content blocks.CallToolResult.setContent(List<Content> value) Sets the content blocks.CallToolResult.setContent(Content... value) Sets the content blocks.CallToolResult.setIsError(Boolean value) Sets the error flag.CallToolResult.setStructuredContent(Object value) Sets the structured tool output. -
Uses of CallToolResult in org.apache.juneau.rest.client.mcp.v20260728
Methods in org.apache.juneau.rest.client.mcp.v20260728 that return CallToolResultModifier and TypeMethodDescriptionSends "tools/call".McpClient.callToolWithElicitation(String name, Map<String, Object> arguments, McpElicitationHandler handler) Invokes "tools/call", transparently answering any MCP2026-07-28SEP-2322input_requiredelicitation pauses viahandleruntil a terminal result is reached, using thedefaultmax-rounds bound.McpClient.callToolWithElicitation(String name, Map<String, Object> arguments, McpElicitationHandler handler, int maxRounds) Invokes "tools/call", transparently answering anyinput_requiredelicitation pauses viahandleruntil a terminal result is reached, bounded bymaxRounds.