Class McpPromptMessage
- Namespace
- LMKit.Mcp.Abstractions
- Assembly
- LM-Kit.NET.dll
A single message in a rendered prompt, with a role and one or more content parts.
public sealed class McpPromptMessage
- Inheritance
-
McpPromptMessage
- Inherited Members
Properties
- Content
Gets or sets the content parts that make up this message. MCP servers may return a single content object or an array; this property is always a list.
- Role
Gets or sets the message role (user or assistant).