You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: crates/rmcp/tests/test_message_schema/server_json_rpc_message_schema.json
+48Lines changed: 48 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -2731,6 +2731,26 @@
2731
2731
}
2732
2732
]
2733
2733
},
2734
+
"TaskSupport": {
2735
+
"description": "Per-tool task support mode as defined in the MCP specification.\n\nThis enum indicates whether a tool supports task-based invocation,\nallowing clients to know how to properly call the tool.\n\nSee [Tool-Level Negotiation](https://modelcontextprotocol.io/specification/2025-11-25/basic/utilities/tasks#tool-level-negotiation).",
2736
+
"oneOf": [
2737
+
{
2738
+
"description": "Clients MUST NOT invoke this tool as a task (default behavior).",
2739
+
"type": "string",
2740
+
"const": "forbidden"
2741
+
},
2742
+
{
2743
+
"description": "Clients MAY invoke this tool as either a task or a normal call.",
2744
+
"type": "string",
2745
+
"const": "optional"
2746
+
},
2747
+
{
2748
+
"description": "Clients MUST invoke this tool as a task.",
2749
+
"type": "string",
2750
+
"const": "required"
2751
+
}
2752
+
]
2753
+
},
2734
2754
"TasksCapability": {
2735
2755
"description": "Task capabilities shared by client and server.",
2736
2756
"type": "object",
@@ -2896,6 +2916,17 @@
2896
2916
"null"
2897
2917
]
2898
2918
},
2919
+
"execution": {
2920
+
"description": "Execution-related configuration including task support mode.",
2921
+
"anyOf": [
2922
+
{
2923
+
"$ref": "#/definitions/ToolExecution"
2924
+
},
2925
+
{
2926
+
"type": "null"
2927
+
}
2928
+
]
2929
+
},
2899
2930
"icons": {
2900
2931
"description": "Optional list of icons for the tool",
2901
2932
"type": [
@@ -2977,6 +3008,23 @@
2977
3008
}
2978
3009
}
2979
3010
},
3011
+
"ToolExecution": {
3012
+
"description": "Execution-related configuration for a tool.\n\nThis struct contains settings that control how a tool should be executed,\nincluding task support configuration.",
3013
+
"type": "object",
3014
+
"properties": {
3015
+
"taskSupport": {
3016
+
"description": "Indicates whether this tool supports task-based invocation.\n\nWhen not present or set to `Forbidden`, clients MUST NOT invoke this tool as a task.\nWhen set to `Optional`, clients MAY invoke this tool as a task or normal call.\nWhen set to `Required`, clients MUST invoke this tool as a task.",
0 commit comments