Skip to content

Commit 392e47e

Browse files
Copilotstephentoub
andauthored
Document https:// direct-fetch provision in ReadResourceRequestParams (#1296)
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 d7ca79b commit 392e47e

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

src/ModelContextProtocol.Core/Protocol/ReadResourceRequestParams.cs

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,18 @@ namespace ModelContextProtocol.Protocol;
77
/// Represents the parameters used with a <see cref="RequestMethods.ResourcesRead"/> request from a client to get a resource provided by a server.
88
/// </summary>
99
/// <remarks>
10+
/// <para>
1011
/// The server will respond with a <see cref="ReadResourceResult"/> containing the resulting resource data.
12+
/// </para>
13+
/// <para>
14+
/// Alternatively, if the resource URI uses the <c>https://</c> scheme, clients may fetch the resource
15+
/// directly from the web instead of using <see cref="RequestMethods.ResourcesRead"/>.
16+
/// Servers should only use the <c>https://</c> scheme when the client is able to fetch and load the
17+
/// resource directly on its own.
18+
/// </para>
19+
/// <para>
1120
/// See the <see href="https://github.com/modelcontextprotocol/specification/blob/main/schema/">schema</see> for details.
21+
/// </para>
1222
/// </remarks>
1323
public sealed class ReadResourceRequestParams : RequestParams
1424
{

0 commit comments

Comments
 (0)