Uses of Interface
dev.tachyonmcp.api.server.features.prompts.PromptDescriptor
Packages that use PromptDescriptor
Package
Description
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.
Prompt registry implementations for managing prompt templates and handlers.
-
Uses of PromptDescriptor in dev.tachyonmcp.api.server.features.prompts
Methods in dev.tachyonmcp.api.server.features.prompts that return PromptDescriptorModifier and TypeMethodDescriptionPromptDescriptor.Builder.build()Builds thePromptDescriptor.static PromptDescriptorPromptDescriptor.of(String name, @Nullable String description, @Nullable String title, @Nullable List<PromptArgument> arguments, @Nullable JsonSchema inputSchema) Creates a prompt descriptor with the given fields.static PromptDescriptorPromptDescriptor.of(String name, @Nullable String description, @Nullable String title, @Nullable List<PromptArgument> arguments, @Nullable JsonSchema inputSchema, @Nullable List<Icon> icons) Creates a prompt descriptor with the given fields, including icons.static PromptDescriptorCreates a prompt descriptor with just a name and description.Methods in dev.tachyonmcp.api.server.features.prompts that return types with arguments of type PromptDescriptorModifier and TypeMethodDescriptionPrompts.descriptors()Retrieves all registered prompt descriptors.Finds a registered prompt descriptor by name.Methods in dev.tachyonmcp.api.server.features.prompts with parameters of type PromptDescriptorModifier and TypeMethodDescriptionPrompts.register(PromptDescriptor descriptor, PromptFn fn) Registers a prompt descriptor with its synchronous function.default PromptsPrompts.register(PromptDescriptor descriptor, List<PromptMessage> messages) Registers a prompt that returns the specified messages for every request.Prompts.registerAsync(PromptDescriptor descriptor, AsyncPromptFn fn) Registers a prompt with an asynchronous function. -
Uses of PromptDescriptor in dev.tachyonmcp.core.protocol
Method parameters in dev.tachyonmcp.core.protocol with type arguments of type PromptDescriptorModifier and TypeMethodDescriptionProtocolResponseMapper.listPromptsResult(List<PromptDescriptor> prompts, @Nullable String nextCursor) Maps a paginated list of prompt descriptors into protocol-specific shape. -
Uses of PromptDescriptor 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 PromptDescriptorModifier and TypeMethodDescriptionMcpResponseMapper.listPromptsResult(List<PromptDescriptor> prompts, @Nullable String nextCursor) -
Uses of PromptDescriptor 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 PromptDescriptorModifier and TypeMethodDescriptionMcpResponseMapper.listPromptsResult(List<PromptDescriptor> prompts, @Nullable String nextCursor) -
Uses of PromptDescriptor in dev.tachyonmcp.core.server.features.prompts
Methods in dev.tachyonmcp.core.server.features.prompts that return types with arguments of type PromptDescriptorModifier and TypeMethodDescriptionDefaultPromptRegistry.descriptors()Returns all registered prompt descriptors sorted by name.Finds a registered prompt descriptor by name.Methods in dev.tachyonmcp.core.server.features.prompts with parameters of type PromptDescriptorModifier and TypeMethodDescriptionDefaultPromptRegistry.register(PromptDescriptor descriptor, PromptFn fn) Registers a prompt unless prompt support is disabled by the configured mode.DefaultPromptRegistry.registerAsync(PromptDescriptor descriptor, AsyncPromptFn fn)