Fix comments on McpServerTool/Prompt/Resource (#866)

They were a bit out of date with the implementation.

Co-authored-by: Stephen Halter <halter73@gmail.com>
This commit is contained in:
Stephen Toub 2025-10-14 23:44:09 -04:00 • committed by GitHub
commit e7b403b820
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -110,10 +110,6 @@ namespace ModelContextProtocol.Server;
/// <description>Returned as a single-item <see cref="ContentBlock"/> list.</description>
/// </item>
/// <item>
/// <term><see cref="IEnumerable{String}"/> of <see cref="string"/></term>
/// <description>Each <see cref="string"/> is converted to a <see cref="TextContentBlock"/> object with its text set to the string value.</description>
/// </item>
/// <item>
/// <term><see cref="IEnumerable{AIContent}"/> of <see cref="AIContent"/></term>
/// <description>Each <see cref="AIContent"/> is converted to a <see cref="ContentBlock"/> object using <see cref="AIContentExtensions.ToContent(AIContent)"/>.</description>
/// </item>