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: schema/schema.unstable.json
+93Lines changed: 93 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -208,6 +208,9 @@
208
208
{
209
209
"$ref": "#/$defs/ListSessionsResponse"
210
210
},
211
+
{
212
+
"$ref": "#/$defs/ForkSessionResponse"
213
+
},
211
214
{
212
215
"$ref": "#/$defs/SetSessionModeResponse"
213
216
},
@@ -573,6 +576,14 @@
573
576
],
574
577
"description": "**UNSTABLE**\n\nThis capability is not part of the spec yet, and may be removed or changed at any point.\n\nLists existing sessions known to the agent.\n\nThis method is only available if the agent advertises the `listSessions` capability.\n\nThe agent should return metadata about sessions with optional filtering and pagination support."
575
578
},
579
+
{
580
+
"allOf": [
581
+
{
582
+
"$ref": "#/$defs/ForkSessionRequest"
583
+
}
584
+
],
585
+
"description": "**UNSTABLE**\n\nThis capability is not part of the spec yet, and may be removed or changed at any point.\n\nForks an existing session to create a new independent session.\n\nThis method is only available if the agent advertises the `session.fork` capability.\n\nThe agent should create a new session with the same conversation context as the\noriginal, allowing operations like generating summaries without affecting the\noriginal session's history."
586
+
},
576
587
{
577
588
"allOf": [
578
589
{
@@ -1076,6 +1087,68 @@
1076
1087
},
1077
1088
"type": "object"
1078
1089
},
1090
+
"ForkSessionRequest": {
1091
+
"description": "**UNSTABLE**\n\nThis capability is not part of the spec yet, and may be removed or changed at any point.\n\nRequest parameters for forking an existing session.\n\nCreates a new session based on the context of an existing one, allowing\noperations like generating summaries without affecting the original session's history.\n\nOnly available if the Agent supports the `session.fork` capability.",
1092
+
"properties": {
1093
+
"_meta": {
1094
+
"description": "The _meta property is reserved by ACP to allow clients and agents to attach additional\nmetadata to their interactions. Implementations MUST NOT make assumptions about values at\nthese keys.\n\nSee protocol docs: [Extensibility](https://agentclientprotocol.com/protocol/extensibility)"
1095
+
},
1096
+
"sessionId": {
1097
+
"allOf": [
1098
+
{
1099
+
"$ref": "#/$defs/SessionId"
1100
+
}
1101
+
],
1102
+
"description": "The ID of the session to fork."
1103
+
}
1104
+
},
1105
+
"required": ["sessionId"],
1106
+
"type": "object",
1107
+
"x-method": "session/fork",
1108
+
"x-side": "agent"
1109
+
},
1110
+
"ForkSessionResponse": {
1111
+
"description": "**UNSTABLE**\n\nThis capability is not part of the spec yet, and may be removed or changed at any point.\n\nResponse from forking an existing session.",
1112
+
"properties": {
1113
+
"_meta": {
1114
+
"description": "The _meta property is reserved by ACP to allow clients and agents to attach additional\nmetadata to their interactions. Implementations MUST NOT make assumptions about values at\nthese keys.\n\nSee protocol docs: [Extensibility](https://agentclientprotocol.com/protocol/extensibility)"
1115
+
},
1116
+
"models": {
1117
+
"anyOf": [
1118
+
{
1119
+
"$ref": "#/$defs/SessionModelState"
1120
+
},
1121
+
{
1122
+
"type": "null"
1123
+
}
1124
+
],
1125
+
"description": "**UNSTABLE**\n\nThis capability is not part of the spec yet, and may be removed or changed at any point.\n\nInitial model state if supported by the Agent"
1126
+
},
1127
+
"modes": {
1128
+
"anyOf": [
1129
+
{
1130
+
"$ref": "#/$defs/SessionModeState"
1131
+
},
1132
+
{
1133
+
"type": "null"
1134
+
}
1135
+
],
1136
+
"description": "Initial mode state if supported by the Agent\n\nSee protocol docs: [Session Modes](https://agentclientprotocol.com/protocol/session-modes)"
1137
+
},
1138
+
"sessionId": {
1139
+
"allOf": [
1140
+
{
1141
+
"$ref": "#/$defs/SessionId"
1142
+
}
1143
+
],
1144
+
"description": "Unique identifier for the newly created forked session."
1145
+
}
1146
+
},
1147
+
"required": ["sessionId"],
1148
+
"type": "object",
1149
+
"x-method": "session/fork",
1150
+
"x-side": "agent"
1151
+
},
1079
1152
"HttpHeader": {
1080
1153
"description": "An HTTP header to set when making requests to the MCP server.",
1081
1154
"properties": {
@@ -2182,6 +2255,17 @@
2182
2255
"description": "The _meta property is reserved by ACP to allow clients and agents to attach additional\nmetadata to their interactions. Implementations MUST NOT make assumptions about values at\nthese keys.\n\nSee protocol docs: [Extensibility](https://agentclientprotocol.com/protocol/extensibility)",
2183
2256
"type": ["object", "null"]
2184
2257
},
2258
+
"fork": {
2259
+
"anyOf": [
2260
+
{
2261
+
"$ref": "#/$defs/SessionForkCapabilities"
2262
+
},
2263
+
{
2264
+
"type": "null"
2265
+
}
2266
+
],
2267
+
"description": "**UNSTABLE**\n\nThis capability is not part of the spec yet, and may be removed or changed at any point.\n\nWhether the agent supports `session/fork`."
2268
+
},
2185
2269
"list": {
2186
2270
"anyOf": [
2187
2271
{
@@ -2196,6 +2280,15 @@
2196
2280
},
2197
2281
"type": "object"
2198
2282
},
2283
+
"SessionForkCapabilities": {
2284
+
"description": "**UNSTABLE**\n\nThis capability is not part of the spec yet, and may be removed or changed at any point.\n\nCapabilities for the `session/fork` method.\n\nBy supplying `{}` it means that the agent supports forking of sessions.",
2285
+
"properties": {
2286
+
"_meta": {
2287
+
"description": "The _meta property is reserved by ACP to allow clients and agents to attach additional\nmetadata to their interactions. Implementations MUST NOT make assumptions about values at\nthese keys.\n\nSee protocol docs: [Extensibility](https://agentclientprotocol.com/protocol/extensibility)"
2288
+
}
2289
+
},
2290
+
"type": "object"
2291
+
},
2199
2292
"SessionId": {
2200
2293
"description": "A unique identifier for a conversation session between a client and agent.\n\nSessions maintain their own context, conversation history, and state,\nallowing multiple independent interactions with the same agent.\n\nSee protocol docs: [Session ID](https://agentclientprotocol.com/protocol/session-setup#session-id)",
0 commit comments