Skip to content

docs(unstable-v2): require cancelling an abandoned elicitation in the schema description - #2950

Merged
benbrandt merged 1 commit into
mainfrom
docs/v2-elicitation-cancel-keyword
Nov 20, 2026
Merged

benbrandt merged 1 commit into
mainfrom
docs/v2-elicitation-cancel-keyword

Conversation

@benbrandt

Copy link
Copy Markdown
Member

Summary

When an Agent stops waiting for a pending elicitation because the work that needed it was cancelled, it MUST cancel that request with $/cancel_request. The elicitation page and the migration guide say so since #2852, which raised the rule from SHOULD.

The CreateElicitationRequest description was missed. It still said "Agents SHOULD cancel pending elicitations no longer needed by cancelled work", so the generated schema, the schema reference page and the Rust docs disagreed with the pages.

Change

CreateElicitationRequest description in the v2 schema, with the schema and the schema reference pages regenerated:

When an Agent stops waiting for an elicitation because its work was cancelled, it MUST cancel the request with $/cancel_request.

For implementers

No change for an Agent that follows the elicitation page.

Checks

  • The tests, cargo fmt, Prettier and the spell check pass.
  • Regenerating the schema a second time gives no diff.

… schema description

The elicitation page and the migration guide say an Agent MUST cancel a
pending elicitation with `$/cancel_request` when it stops waiting for it
because the work was cancelled. #2852 raised that rule from SHOULD. The
`CreateElicitationRequest` description was missed and still said SHOULD.
@benbrandt
benbrandt requested a review from a team as a code owner November 20, 2026 20:11
@benbrandt
benbrandt merged commit 90540c3 into main Nov 20, 2026
15 checks passed
@benbrandt
benbrandt deleted the docs/v2-elicitation-cancel-keyword branch November 20, 2026 20:57
@acp-release-bot acp-release-bot Bot mentioned this pull request Nov 20, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant