Class GetPromptRequest

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

@Marshalled public class GetPromptRequest extends Object
Parameters for "prompts/get".
  • Constructor Details

  • Method Details

    • getName

      public String getName()
      Prompt name.
      Returns:
      The name, or null if not set.
    • setName

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

      Argument values keyed by argument name.
      Returns:
      The arguments map, or null if not set.
    • setArguments

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

      public GetPromptRequest putArgument(String name, Object value)
      Convenience method to add a single argument value.
      Parameters:
      name - The argument name. Can be null (LinkedHashMap tolerates a null key).
      value - The argument value. Can be null (stored as null).
      Returns:
      This object (for method chaining).