Uses of Class
org.apache.juneau.rest.server.mcp.McpContentBlock
Packages that use McpContentBlock
Package
Description
Revision-neutral core for MCP endpoints built on
juneau-rest-server.-
Uses of McpContentBlock in org.apache.juneau.rest.server.mcp
Methods in org.apache.juneau.rest.server.mcp that return McpContentBlockModifier and TypeMethodDescriptionMcpPromptMessage.getContent()The message's content.static McpContentBlockCreates an image content block.static McpContentBlockMcpContentBlock.resource(McpResourceContents resource) Creates an embedded-resource content block.static McpContentBlockCreates a text content block.Methods in org.apache.juneau.rest.server.mcp that return types with arguments of type McpContentBlockModifier and TypeMethodDescriptionMcpToolOutcome.getContent()The content blocks returned by the tool.Methods in org.apache.juneau.rest.server.mcp with parameters of type McpContentBlockModifier and TypeMethodDescriptionstatic McpToolOutcomeMcpToolOutcome.of(McpContentBlock... values) Creates an outcome carrying the supplied blocks.McpPromptMessage.setContent(McpContentBlock value) Sets the message's content.Method parameters in org.apache.juneau.rest.server.mcp with type arguments of type McpContentBlockModifier and TypeMethodDescriptionMcpToolOutcome.setContent(List<McpContentBlock> value) Sets the content blocks.