McpResourceLinkContent class

MCPツール応答内のリソースリンクコンテンツブロック。

Extends

プロパティ

description
mimeType
name
type
uri

メソッド

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>