Table of Contents

Method FromResourceLink

Namespace
LMKit.Mcp.Server
Assembly
LM-Kit.NET.dll

Creates a pointer to a resource the caller may fetch on demand. This is the correct way to return a produced artifact or any payload above the inline threshold.

public static McpContent FromResourceLink(string uri, string name, string description, string mimeType, long? size)

Parameters

uri string

Resource URI resolvable through resources/read.

name string

Short display name.

description string

What the resource contains.

mimeType string

MIME type, when known.

size long?

Size in bytes, when known.

Returns

McpContent
Share