McpTextContent class
Blok konten teks dalam respons alat MCP.
- Memperluas
Konstruktor
| Mcp |
Metode
| toJSON() |
Detail Konstruktor
McpTextContent(string)
new McpTextContent(text: string)
Parameter
- text
-
string
Detail Properti
text
text: string
Nilai Properti
string
type
type: "text"
Nilai Properti
"text"
Detail Metode
toJSON()
function toJSON(): Record<string, unknown>
Mengembalikan
Record<string, unknown>