程序包的使用
com.ajaxjs.mcp.message
使用com.ajaxjs.mcp.message的程序包
-
类说明Represents a response message from an AI (language model).Represents a chat message.A codec for serializing and deserializing
ChatMessageobjects to and from JSON.The type of content, e.g. text or image.Abstract base interface for message content.The type of content, e.g. text or image.Represents an LLM-generated request to execute a tool.Represents a message from a user, typically an end user of the application.