ResourceLink extension type

A resource link returned from a tool.

Resource links returned by tools are not guaranteed to appear in the results of a resources/list request.

on
Implemented types

Constructors

ResourceLink.new({required String name, String? title, required String description, required String uri, required String mimeType, Annotations? annotations, Meta? meta})
factory
ResourceLink.fromMap(Map<String, Object?> _value)

Properties

annotations Annotations?
Annotations for this object.
no setterinherited
description String
The description of the resource.
no setter
isAudio bool
Whether or not this is an AudioContent.
no setterinherited
isEmbeddedResource bool
Whether or not this is an EmbeddedResource.
no setterinherited
isImage bool
Whether or not this is an ImageContent.
no setterinherited
isText bool
Whether or not this is a TextContent.
no setterinherited
meta Meta?
The _meta property/parameter is reserved by MCP to allow clients and servers to attach additional metadata to their interactions.
no setterinherited
mimeType String
The MIME type of the resource.
no setter
name String
Intended for programmatic or logical use, but used as a display name in past specs for fallback (if title isn't present).
no setterinherited
title String?
A short title for this object.
no setterinherited
type String
The type of content.
no setteroverride
uri String
The URI of the resource.
no setter

Constants

expectedType → const String