Class CompleteRequest
java.lang.Object
org.apache.juneau.bean.mcp.v20260728.RequestParams<CompleteRequest>
org.apache.juneau.bean.mcp.v20260728.CompleteRequest
Parameters for "completion/complete".
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionArgument being completed.Optional already-resolved argument values.getRef()Completion target (prompt or resource template).setArgument(CompletionArgument value) Sets the argument being completed.setContext(CompletionContext value) Sets the optional context.setRef(CompletionReference value) Sets the completion target.Methods inherited from class org.apache.juneau.bean.mcp.v20260728.RequestParams
getMeta, setMeta
-
Constructor Details
-
CompleteRequest
public CompleteRequest()
-
-
Method Details
-
getRef
Completion target (prompt or resource template).- Returns:
- The reference, or
nullif not set.
-
setRef
Sets the completion target.- Parameters:
value- The new value. Can benull to unset the property.- Returns:
- This object (for method chaining).
-
getArgument
Argument being completed.- Returns:
- The argument, or
nullif not set.
-
setArgument
Sets the argument being completed.- Parameters:
value- The new value. Can benull to unset the property.- Returns:
- This object (for method chaining).
-
getContext
Optional already-resolved argument values.- Returns:
- The context, or
nullif not set.
-
setContext
Sets the optional context.- Parameters:
value- The new value. Can benull to unset the property.- Returns:
- This object (for method chaining).
-