Uses of Interface
dev.tachyonmcp.api.server.features.prompts.PromptDescriptor.Builder
Packages that use PromptDescriptor.Builder
Package
Description
Prompt feature types and function interfaces.
-
Uses of PromptDescriptor.Builder in dev.tachyonmcp.api.server.features.prompts
Methods in dev.tachyonmcp.api.server.features.prompts that return PromptDescriptor.BuilderModifier and TypeMethodDescriptionPromptDescriptor.Builder.addArguments(PromptArgument... elements) Appends arguments accepted by this prompt.PromptDescriptor.Builder.arguments(@Nullable Iterable<? extends PromptArgument> elements) Sets the arguments accepted by this prompt.static PromptDescriptor.BuilderPromptDescriptor.builder()Creates a new builder forPromptDescriptor.PromptDescriptor.Builder.description(@Nullable String description) Sets the optional description of this prompt.PromptDescriptor.Builder.extensionId(@Nullable String extensionId) Sets the optional identifier of the extension that owns this prompt.Sets the optional icons for this prompt.PromptDescriptor.Builder.inputSchema(@Nullable JsonSchema inputSchema) Sets the optional JSON schema describing the prompt's arguments.default PromptDescriptor.BuilderPromptDescriptor.Builder.inputSchema(@Nullable String inputSchema) Sets the optional JSON schema describing the prompt's arguments, parsed from a string.Sets optional protocol extension metadata.Sets the prompt name, unique within the server.Sets the optional human-readable title.Method parameters in dev.tachyonmcp.api.server.features.prompts with type arguments of type PromptDescriptor.BuilderModifier and TypeMethodDescriptiondefault PromptsPrompts.register(Consumer<PromptDescriptor.Builder> configurer, PromptFn fn) Registers a prompt configured through a descriptor builder.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.default PromptsPrompts.registerAsync(Consumer<PromptDescriptor.Builder> descriptor, AsyncPromptFn fn) Registers an asynchronous prompt configured through a descriptor builder.