Annotation Interface McpComplete
Annotates a method used for completion functionality in the MCP framework. This
annotation can be used in two mutually exclusive ways: 1. To complete an expression
within a URI template of a resource 2. To complete a prompt argument
Note: You must use either the prompt or the uri attribute, but not both simultaneously.
- Author:
- Christian Tzolov
-
Optional Element Summary
Optional Elements
-
Element Details
-
prompt
String promptThe name reference to a prompt. This is used when the completion method is intended to complete a prompt argument.- Default:
- ""
-
uri
String uriThe name reference to a resource template URI. This is used when the completion method is intended to complete an expression within a URI template of a resource.- Default:
- ""
-