Skip to content

feat(unstable): Add descriptions to elicitation enum options#1397

Merged
benbrandt merged 6 commits into
agentclientprotocol:mainfrom
OldKrab:rfd/elicitation-option-descriptions
Jul 6, 2026
Merged

feat(unstable): Add descriptions to elicitation enum options#1397
benbrandt merged 6 commits into
agentclientprotocol:mainfrom
OldKrab:rfd/elicitation-option-descriptions

Conversation

@OldKrab

@OldKrab OldKrab commented Jun 9, 2026

Copy link
Copy Markdown
Contributor

Adds an optional description field to elicitation enum options.

This lets agents provide short explanatory text for individual oneOf/anyOf choices without overloading the option title.

@OldKrab
OldKrab requested a review from a team as a code owner June 9, 2026 15:51
@OldKrab

OldKrab commented Jun 17, 2026

Copy link
Copy Markdown
Contributor Author

@anna239 can you take a look at this small change in elicitation? Thank you!

Shushakov Daniil 84373458 and others added 4 commits June 17, 2026 16:59
…n-descriptions

# Conflicts:
#	schema/v1/schema.unstable.json
#	schema/v2/schema.unstable.json
#	src/v1/elicitation.rs
#	src/v2/conversion.rs
#	src/v2/elicitation.rs
@benbrandt benbrandt changed the title Add descriptions to elicitation enum options feat(unstable): Add descriptions to elicitation enum options Jul 6, 2026
… fields

Add the DefaultOnError / x-deserialize-default-on-error / serde(default)
annotations to the new description field so a malformed value degrades to
None instead of rejecting the whole elicitation request, matching every
other cosmetic optional field. Also align the doc wording with sibling
description fields and regenerate schemas and docs.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@benbrandt
benbrandt enabled auto-merge (squash) July 6, 2026 12:21
@benbrandt
benbrandt merged commit b8337eb into agentclientprotocol:main Jul 6, 2026
7 checks passed
@acp-release-bot acp-release-bot Bot mentioned this pull request Jul 6, 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.

2 participants