McpTextContent class
Een tekstinhoudsblok in een MCP-toolrespons.
- Uitbreiding
Constructors
| Mcp |
Methoden
| toJSON() |
Constructordetails
McpTextContent(string)
new McpTextContent(text: string)
Parameters
- text
-
string
Eigenschapdetails
text
text: string
Waarde van eigenschap
string
type
type: "text"
Waarde van eigenschap
"text"
Methodedetails
toJSON()
function toJSON(): Record<string, unknown>
Retouren
Record<string, unknown>