Method FromEmbeddedResource
FromEmbeddedResource(string, string, string)
Creates a content block carrying resource contents inline.
public static McpContent FromEmbeddedResource(string uri, string mimeType, string text)
Parameters
uristringResource URI the contents belong to.
mimeTypestringMIME type of the contents.
textstringThe textual contents.