Skip to content

Commit d08062c

Browse files
aaronpowellstephentoubPederHP
authored
Apply suggestions from code review
Co-authored-by: Stephen Toub <[email protected]> Co-authored-by: Peder Holdgaard Pedersen <[email protected]>
1 parent c53abef commit d08062c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/ModelContextProtocol/Protocol/Types/Resources/BlobResourceContents.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ namespace ModelContextProtocol.Protocol.Types;
99
public class BlobResourceContents : ResourceContents
1010
{
1111
/// <summary>
12-
/// The binary content of the resource.
12+
/// The base64-encoded string representing the binary data of the item.
1313
/// </summary>
1414
[JsonPropertyName("blob")]
1515
public string Blob { get; set; } = default!;

src/ModelContextProtocol/Protocol/Types/Resources/TextResourceContents.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ namespace ModelContextProtocol.Protocol.Types;
99
public class TextResourceContents : ResourceContents
1010
{
1111
/// <summary>
12-
/// The text content of the resource.
12+
/// The text of the item. This must only be set if the item can actually be represented as text (not binary data).
1313
/// </summary>
1414
[JsonPropertyName("text")]
1515
public string Text { get; set; } = string.Empty;

0 commit comments

Comments
 (0)