Class GetPromptResult

java.lang.Object
org.apache.juneau.bean.mcp.v20260728.Result<GetPromptResult>
org.apache.juneau.bean.mcp.v20260728.GetPromptResult

Result payload for "prompts/get".
  • Constructor Details

  • Method Details

    • getDescription

      Prompt description.
      Returns:
      The description, or null if not set.
    • setDescription

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

      Rendered prompt messages.
      Returns:
      The messages list, or null if not set.
    • setMessages

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

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

      Appends to the rendered messages.
      Parameters:
      value - The values to append.
      Returns:
      This object (for method chaining).
    • addMessages

      Appends to the rendered messages.
      Parameters:
      value - The values to append.
      Returns:
      This object (for method chaining).