Package org.mcpjava.server.completion
package org.mcpjava.server.completion
Provide auto-completion functionality to the client.
Completion annotations allow you to define methods that provide completion
suggestions for prompt arguments and resource template URI expressions.
Use @CompletePrompt for prompt
completions and @CompleteResourceTemplate
for resource template completions.
A CompletionResult can be returned
from @CompletePrompt or
@CompleteResourceTemplate-annotated
methods.
- See Also:
-
ClassDescriptionCustomizes the name of a completed argument in a completion method.Marks a method as providing completion suggestions for a prompt argument.Marks a method as providing completion suggestions for a resource template URI expression.Provides access to values for other arguments that the user has already completedThe result of a completion request, listing the possible completion values for a variable.Builder for creation completion responses.