Table of Contents

Class McpPromptContent

Namespace
LMKit.Mcp.Abstractions
Assembly
LM-Kit.NET.dll

Describes a content part within a message: text, image, audio, or embedded resource.

public sealed class McpPromptContent
Inheritance
McpPromptContent
Inherited Members

Properties

Data

Gets or sets base64 data when Type is "image" or "audio".

MimeType

Gets or sets the MIME type when Type is "image" or "audio".

Resource

Gets or sets the embedded resource payload when Type is "resource".

Text

Gets or sets the text body when Type is "text".

Type

Gets or sets the content type. Common values: "text", "image", "audio", "resource".