ResourceTemplate extension type

A template description for resources available on the server.

on
Implemented types

Constructors

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

Properties

annotations Annotations?
Annotations for this object.
no setterinherited
description String?
A description of what this template is for.
no setter
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 for all resources that match this template.
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
uriTemplate String
A URI template (according to RFC 6570) that can be used to construct resource URIs.
no setter