Uses of Interface
com.google.adk.tools.mcp.CallToolResultMapper
Packages that use CallToolResultMapper
-
Uses of CallToolResultMapper in com.google.adk.tools.mcp
Methods in com.google.adk.tools.mcp that return CallToolResultMapperModifier and TypeMethodDescriptionstatic CallToolResultMapperCallToolResultMapper.fullResult()Returns a mapper that returns the whole result in the MCP wire format:content, plusstructuredContent,isErrorand_metawhen set.static CallToolResultMapperCallToolResultMapper.textOutput(com.fasterxml.jackson.databind.ObjectMapper objectMapper) Returns the default mapper, which keeps only the text content undertext_output, or returns anerror.Methods in com.google.adk.tools.mcp with parameters of type CallToolResultMapperModifier and TypeMethodDescriptionMcpAsyncToolset.Builder.callToolResultMapper(@Nullable CallToolResultMapper callToolResultMapper) Sets how tools convert MCP call results into their responses.McpToolset.Builder.callToolResultMapper(@Nullable CallToolResultMapper callToolResultMapper) Sets how tools convert MCP call results into their responses.