Class TextContent
java.lang.Object
org.apache.juneau.bean.mcp.v20250618.TextContent
- All Implemented Interfaces:
Content
MCP
text content block.-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
TextContent
public TextContent()
-
-
Method Details
-
getText
Text payload.- Returns:
- The text, or
nullif not set.
-
setText
Sets the text payload.- Parameters:
value- The new value. Can benull to unset the property.- Returns:
- This object (for method chaining).
-