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>
This commit is contained in:
parent
d7ca79b4d8
commit
392e47ea29
1 changed files with 10 additions and 0 deletions
|
|
@ -7,8 +7,18 @@ namespace ModelContextProtocol.Protocol;
|
|||
/// Represents the parameters used with a <see cref="RequestMethods.ResourcesRead"/> request from a client to get a resource provided by a server.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// The server will respond with a <see cref="ReadResourceResult"/> containing the resulting resource data.
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// Alternatively, if the resource URI uses the <c>https://</c> scheme, clients may fetch the resource
|
||||
/// directly from the web instead of using <see cref="RequestMethods.ResourcesRead"/>.
|
||||
/// Servers should only use the <c>https://</c> scheme when the client is able to fetch and load the
|
||||
/// resource directly on its own.
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// See the <see href="https://github.com/modelcontextprotocol/specification/blob/main/schema/">schema</see> for details.
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
public sealed class ReadResourceRequestParams : RequestParams
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in a new issue