McpImageContent class
Blok konten gambar dalam respons alat MCP.
- Memperluas
Konstruktor
| Mcp |
Metode
| toJSON() |
Detail Konstruktor
McpImageContent(McpImageContentInit)
Detail Properti
data
data: string | ArrayBuffer | Buffer
Nilai Properti
string | ArrayBuffer | Buffer
mimeType
mimeType?: string
Nilai Properti
string
type
type: "image"
Nilai Properti
"image"
Detail Metode
toJSON()
function toJSON(): Record<string, unknown>
Mengembalikan
Record<string, unknown>