Uses of Interface
dev.tachyonmcp.api.server.domain.PromptMessage
Packages that use PromptMessage
Package
Description
Domain types for MCP protocol data structures.
Prompt feature types and function interfaces.
Protocol interfaces and domain types for MCP server and client interaction.
Generated JSON-RPC codecs for the MCP 2025-11-25 protocol version.
Generated JSON-RPC codecs for the MCP 2026-07-28 protocol version.
-
Uses of PromptMessage in dev.tachyonmcp.api.server.domain
Methods in dev.tachyonmcp.api.server.domain that return PromptMessageModifier and TypeMethodDescriptionPromptMessage.Builder.build()static PromptMessagePromptMessage.of(Role role, ContentBlock content) static PromptMessagePromptMessage.user(ContentBlock content) Creates a user-role message wrapping the given content block.static PromptMessageCreates a user-role message whose content is plain text (no annotations). -
Uses of PromptMessage in dev.tachyonmcp.api.server.features.prompts
Methods in dev.tachyonmcp.api.server.features.prompts that return types with arguments of type PromptMessageModifier and TypeMethodDescription@Nullable List<PromptMessage> PromptResult.Messages.messages()Returns the value of themessagesrecord component.Method parameters in dev.tachyonmcp.api.server.features.prompts with type arguments of type PromptMessageModifier and TypeMethodDescriptionstatic PromptResultPromptResult.messages(@Nullable List<PromptMessage> messages) Creates a prompt result with the given messages.default PromptsPrompts.register(PromptDescriptor descriptor, List<PromptMessage> messages) Registers a prompt that returns the specified messages for every request.default PromptsPrompts.register(Consumer<PromptDescriptor.Builder> descriptor, List<PromptMessage> messages) Registers a prompt with a descriptor configured by the supplied consumer and a fixed list of messages.Constructor parameters in dev.tachyonmcp.api.server.features.prompts with type arguments of type PromptMessageModifierConstructorDescriptionMessages(@Nullable List<PromptMessage> messages) Creates an instance of aMessagesrecord class. -
Uses of PromptMessage in dev.tachyonmcp.core.protocol
Method parameters in dev.tachyonmcp.core.protocol with type arguments of type PromptMessageModifier and TypeMethodDescriptionProtocolResponseMapper.getPromptResult(@Nullable String description, List<PromptMessage> messages, @Nullable Map<String, Object> meta) Maps prompt messages, metadata, and optional description into protocol-specific shape. -
Uses of PromptMessage in dev.tachyonmcp.core.protocol.mcp.v2025_11_25.codecs
Method parameters in dev.tachyonmcp.core.protocol.mcp.v2025_11_25.codecs with type arguments of type PromptMessageModifier and TypeMethodDescriptionMcpResponseMapper.getPromptResult(@Nullable String description, List<PromptMessage> messages, @Nullable Map<String, Object> meta) -
Uses of PromptMessage in dev.tachyonmcp.core.protocol.mcp.v2026_07_28.codecs
Method parameters in dev.tachyonmcp.core.protocol.mcp.v2026_07_28.codecs with type arguments of type PromptMessageModifier and TypeMethodDescriptionMcpResponseMapper.getPromptResult(@Nullable String description, List<PromptMessage> messages, @Nullable Map<String, Object> meta)