McpTextContent class

MCP aracı yanıtındaki metin içerik bloğu.

Extends

Oluşturucular

McpTextContent(string)

Özellikler

text
type

Yöntemler

toJSON()

Oluşturucu Ayrıntıları

McpTextContent(string)

new McpTextContent(text: string)

Parametreler

text

string

Özellik Ayrıntıları

text

text: string

Özellik Değeri

string

type

type: "text"

Özellik Değeri

"text"

Yöntem Ayrıntıları

toJSON()

function toJSON(): Record<string, unknown>

Döndürülenler

Record<string, unknown>