Package dev.langchain4j.mcp.client
Class McpImageContent
java.lang.Object
dev.langchain4j.mcp.client.McpImageContent
- All Implemented Interfaces:
McpPromptContent
The 'ImageContent' object from the MCP protocol schema.
-
Nested Class Summary
Nested classes/interfaces inherited from interface dev.langchain4j.mcp.client.McpPromptContent
McpPromptContent.Type
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface dev.langchain4j.mcp.client.McpPromptContent
getType
-
Constructor Details
-
McpImageContent
-
-
Method Details
-
type
- Specified by:
type
in interfaceMcpPromptContent
-
toContent
- Specified by:
toContent
in interfaceMcpPromptContent
-
data
-
mimeType
-
equals
-
hashCode
public int hashCode() -
toString
-