McpResourceLinkContent class

MCP 工具回應中的資源連結內容區塊。

Extends

方法

toJSON()

建構函式詳細資料

McpResourceLinkContent(McpResourceLinkContentInit)

new McpResourceLinkContent(init: McpResourceLinkContentInit)

參數

屬性詳細資料

description

description?: string

屬性值

string

mimeType

mimeType?: string

屬性值

string

name

name?: string

屬性值

string

type

type: "resource_link"

屬性值

"resource_link"

uri

uri: string

屬性值

string

方法詳細資料

toJSON()

function toJSON(): Record<string, unknown>

傳回

Record<string, unknown>