Class ModelHint

java.lang.Object
org.apache.juneau.bean.mcp.v20260728.ModelHint

@Marshalled public class ModelHint extends Object
A model family/name hint for ModelPreferences.getHints() (MCP sampling).
  • Constructor Details

  • Method Details

    • getName

      public String getName()
      A model family/name substring the server should prefer (fuzzy match; the schema explicitly allows partial matches, e.g. "claude").
      Returns:
      The hint name, or null if not set.
    • setName

      public ModelHint setName(String value)
      Sets the hint name.
      Parameters:
      value - The new value. Can be null to unset the property.
      Returns:
      This object (for method chaining).