Class McpContentBlock

java.lang.Object
org.apache.juneau.rest.server.mcp.McpContentBlock

public final class McpContentBlock extends Object
Revision-neutral content block returned by tool calls and prompt messages.

Carries all three variants supported today — text, image, and embedded resource — so a handler cannot express less through the neutral model than it can through a wire bean. Supersedes the wire-level Content dictionary and its three leaf types.