McpResourceLinkContent class
A resource-link content block in an MCP tool response.
- Extends
Constructors
| Mcp |
Properties
| description | |
| mime |
|
| name | |
| type | |
| uri |
Methods
| toJSON() |
Constructor Details
McpResourceLinkContent(McpResourceLinkContentInit)
new McpResourceLinkContent(init: McpResourceLinkContentInit)
Parameters
Property Details
description
description?: string
Property Value
string
mimeType
mimeType?: string
Property Value
string
name
name?: string
Property Value
string
type
type: "resource_link"
Property Value
"resource_link"
uri
uri: string
Property Value
string
Method Details
toJSON()
function toJSON(): Record<string, unknown>
Returns
Record<string, unknown>