Uses of Interface
dev.tachyonmcp.api.server.domain.ContentBlock
Packages that use ContentBlock
Package
Description
Domain types for MCP protocol data structures.
Tool feature types and handler interfaces.
Generated JSON-RPC codecs for the MCP 2025-11-25 protocol version.
-
Uses of ContentBlock in dev.tachyonmcp.api.server.domain
Subinterfaces of ContentBlock in dev.tachyonmcp.api.server.domainModifier and TypeInterfaceDescriptioninterfaceAn audio content block provided to or from an LLM.interfaceA complete resource embedded inline within a tool result, prompt, or other content.interfaceAn image provided to or from an LLM.interfaceA reference to another resource, embedded within a content block.interfaceA plain-text content block provided to or from an LLM.Methods in dev.tachyonmcp.api.server.domain that return ContentBlockMethods in dev.tachyonmcp.api.server.domain that return types with arguments of type ContentBlockModifier and TypeMethodDescriptionTaskResult.Completed.content()Returns the value of thecontentrecord component.TaskResult.Failed.content()Returns the value of thecontentrecord component.Methods in dev.tachyonmcp.api.server.domain with parameters of type ContentBlockModifier and TypeMethodDescriptionPromptMessage.Builder.content(ContentBlock content) static PromptMessagePromptMessage.of(Role role, ContentBlock content) static PromptMessagePromptMessage.user(ContentBlock content) Creates a user-role message wrapping the given content block.Method parameters in dev.tachyonmcp.api.server.domain with type arguments of type ContentBlockModifier and TypeMethodDescriptionstatic TaskResult.CompletedTaskResult.completed(List<ContentBlock> content, @Nullable Object structuredContent, @Nullable Map<String, Object> meta) Constructor parameters in dev.tachyonmcp.api.server.domain with type arguments of type ContentBlockModifierConstructorDescriptionCompleted(List<ContentBlock> content, @Nullable Object structuredContent, @Nullable Map<String, Object> meta) Creates an instance of aCompletedrecord class.Failed(List<ContentBlock> content, @Nullable Object structuredContent, @Nullable Map<String, Object> meta) Failed(List<ContentBlock> content, @Nullable Object structuredContent, @Nullable Map<String, Object> meta, @Nullable ServerError protocolError) Creates an instance of aFailedrecord class. -
Uses of ContentBlock in dev.tachyonmcp.api.server.features.tools
Methods in dev.tachyonmcp.api.server.features.tools that return types with arguments of type ContentBlockModifier and TypeMethodDescriptionToolResult.Success.content()Returns the value of thecontentrecord component.Methods in dev.tachyonmcp.api.server.features.tools with parameters of type ContentBlockModifier and TypeMethodDescriptionstatic ToolResultToolResult.blocks(ContentBlock... blocks) Deprecated, for removal: This API element is subject to removal in a future version.static ToolResultToolResult.content(ContentBlock... blocks) Creates a successful result containing the given content blocks.Constructor parameters in dev.tachyonmcp.api.server.features.tools with type arguments of type ContentBlockModifierConstructorDescriptionSuccess(@Nullable Object structuredValue, List<ContentBlock> content) Creates an instance of aSuccessrecord class. -
Uses of ContentBlock in dev.tachyonmcp.core.protocol.mcp.v2025_11_25.codecs
Methods in dev.tachyonmcp.core.protocol.mcp.v2025_11_25.codecs with parameters of type ContentBlockModifier and TypeMethodDescriptionstatic ContentBlockContentBlockMappers.toProtocolContentBlock(ContentBlock domain) Maps a domain content block to the protocol shape.
ToolResult.content(ContentBlock...)