Skip to content

Commit d6fb34b

Browse files
committed
Update schemas
1 parent 31dc310 commit d6fb34b

File tree

2 files changed

+213
-178
lines changed

2 files changed

+213
-178
lines changed

schema/schema.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -834,7 +834,7 @@
834834
"description": "The outcome of a permission request.",
835835
"oneOf": [
836836
{
837-
"description": "The prompt turn was cancelled before the user responded.",
837+
"description": "The prompt turn was cancelled before the user responded.\n\nWhen a client sends a `session/cancel` notification to cancel an ongoing\nprompt turn, it MUST respond to all pending `session/request_permission`\nrequests with this `Cancelled` outcome.\n\nSee: <https://agentclientprotocol.com/protocol/prompt-turn#cancellation>",
838838
"properties": {
839839
"outcome": {
840840
"const": "cancelled",
@@ -1152,7 +1152,7 @@
11521152
},
11531153
{
11541154
"const": "cancelled",
1155-
"description": "The turn was cancelled by the client.",
1155+
"description": "The turn was cancelled by the client via `session/cancel`.\n\nThis stop reason MUST be returned when the client sends a `session/cancel`\nnotification, even if the cancellation causes exceptions in underlying operations.\nAgents should catch these exceptions and return this semantically meaningful\nresponse to confirm successful cancellation.",
11561156
"type": "string"
11571157
}
11581158
]

0 commit comments

Comments
 (0)