Class CompleteRequest

java.lang.Object
org.apache.juneau.bean.mcp.v20250618.CompleteRequest

@Marshalled public class CompleteRequest extends Object
Parameters for "completion/complete".
  • Constructor Details

  • Method Details

    • getRef

      Completion target (prompt or resource template).
      Returns:
      The reference, or null if not set.
    • setRef

      Sets the completion target.
      Parameters:
      value - The new value. Can be null to unset the property.
      Returns:
      This object (for method chaining).
    • getArgument

      Argument being completed.
      Returns:
      The argument, or null if not set.
    • setArgument

      Sets the argument being completed.
      Parameters:
      value - The new value. Can be null to unset the property.
      Returns:
      This object (for method chaining).
    • getContext

      Optional already-resolved argument values.
      Returns:
      The context, or null if not set.
    • setContext

      Sets the optional context.
      Parameters:
      value - The new value. Can be null to unset the property.
      Returns:
      This object (for method chaining).