Skip to content

Commit 026bf1d

Browse files
Copilotstephentoub
andauthored
Fix incorrect XML doc comments in McpClient.Methods.cs (#1333)
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: stephentoub <2642209+stephentoub@users.noreply.github.com>
1 parent 604dcaa commit 026bf1d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/ModelContextProtocol.Core/Client/McpClient.Methods.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -280,7 +280,7 @@ public ValueTask<GetPromptResult> GetPromptAsync(
280280
}
281281

282282
/// <summary>
283-
/// Retrieves a list of available prompts from the server.
283+
/// Retrieves a specific prompt from the MCP server.
284284
/// </summary>
285285
/// <param name="requestParams">The request parameters to send in the request.</param>
286286
/// <param name="cancellationToken">The <see cref="CancellationToken"/> to monitor for cancellation requests. The default is <see cref="CancellationToken.None"/>.</param>
@@ -549,9 +549,9 @@ public ValueTask<CompleteResult> CompleteAsync(
549549
}
550550

551551
/// <summary>
552-
/// Unsubscribes from a resource on the server to stop receiving notifications about its changes.
552+
/// Subscribes to a resource on the server to receive notifications when it changes.
553553
/// </summary>
554-
/// <param name="uri">The URI of the resource to which to subscribe.</param>
554+
/// <param name="uri">The URI of the resource to subscribe to.</param>
555555
/// <param name="options">Optional request options including metadata, serialization settings, and progress tracking.</param>
556556
/// <param name="cancellationToken">The <see cref="CancellationToken"/> to monitor for cancellation requests. The default is <see cref="CancellationToken.None"/>.</param>
557557
/// <returns>A task that represents the asynchronous operation.</returns>

0 commit comments

Comments
 (0)