Skip to content

Commit 4190626

Browse files
Merge pull request modelcontextprotocol#337 from connor4312/connor4312/missing-templates-list
re-adding missing request/response for ListResourceTemplates in schema.ts
2 parents 623e37a + b6e5522 commit 4190626

File tree

1 file changed

+13
-11
lines changed

1 file changed

+13
-11
lines changed

schema/2025-03-26/schema.ts

Lines changed: 13 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -726,11 +726,11 @@ export interface ToolListChangedNotification extends Notification {
726726

727727
/**
728728
* Additional properties describing a Tool to clients.
729-
*
730-
* NOTE: all properties in ToolAnnotations are **hints**.
731-
* They are not guaranteed to provide a faithful description of
729+
*
730+
* NOTE: all properties in ToolAnnotations are **hints**.
731+
* They are not guaranteed to provide a faithful description of
732732
* tool behavior (including descriptive properties like `title`).
733-
*
733+
*
734734
* Clients should never make tool use decisions based on ToolAnnotations
735735
* received from untrusted servers.
736736
*/
@@ -742,27 +742,27 @@ export interface ToolAnnotations {
742742

743743
/**
744744
* If true, the tool does not modify its environment.
745-
*
745+
*
746746
* Default: false
747747
*/
748748
readOnlyHint?: boolean;
749749

750750
/**
751751
* If true, the tool may perform destructive updates to its environment.
752752
* If false, the tool performs only additive updates.
753-
*
753+
*
754754
* (This property is meaningful only when `readOnlyHint == false`)
755-
*
755+
*
756756
* Default: true
757757
*/
758758
destructiveHint?: boolean;
759759

760760
/**
761-
* If true, calling the tool repeatedly with the same arguments
761+
* If true, calling the tool repeatedly with the same arguments
762762
* will have no additional effect on the its environment.
763-
*
763+
*
764764
* (This property is meaningful only when `readOnlyHint == false`)
765-
*
765+
*
766766
* Default: false
767767
*/
768768
idempotentHint?: boolean;
@@ -772,7 +772,7 @@ export interface ToolAnnotations {
772772
* entities. If false, the tool's domain of interaction is closed.
773773
* For example, the world of a web search tool is open, whereas that
774774
* of a memory tool is not.
775-
*
775+
*
776776
* Default: true
777777
*/
778778
openWorldHint?: boolean;
@@ -1217,6 +1217,7 @@ export type ClientRequest =
12171217
| GetPromptRequest
12181218
| ListPromptsRequest
12191219
| ListResourcesRequest
1220+
| ListResourceTemplatesRequest
12201221
| ReadResourceRequest
12211222
| SubscribeRequest
12221223
| UnsubscribeRequest
@@ -1252,6 +1253,7 @@ export type ServerResult =
12521253
| CompleteResult
12531254
| GetPromptResult
12541255
| ListPromptsResult
1256+
| ListResourceTemplatesResult
12551257
| ListResourcesResult
12561258
| ReadResourceResult
12571259
| CallToolResult

0 commit comments

Comments
 (0)