Skip to content

feat: add _meta support to CreateElicitationResult#792

Open
mzeng-openai wants to merge 1 commit intomodelcontextprotocol:mainfrom
mzeng-openai:dev/mzeng/meta_create_elicitation_result
Open

feat: add _meta support to CreateElicitationResult#792
mzeng-openai wants to merge 1 commit intomodelcontextprotocol:mainfrom
mzeng-openai:dev/mzeng/meta_create_elicitation_result

Conversation

@mzeng-openai
Copy link
Copy Markdown

Summary

  • add optional _meta metadata to CreateElicitationResult
  • add with_meta() builder and preserve None defaults at existing call sites
  • cover _meta serialization/deserialization and refresh JSON-RPC schema snapshots

Tests

  • cargo +nightly fmt --all --check
  • cargo check -p rmcp --all-targets --all-features
  • cargo check -p mcp-conformance --all-targets
  • cargo test -p rmcp --test test_elicitation test_elicitation_result_serialization --features "elicitation client server"
  • cargo test -p rmcp --test test_message_schema --all-features
  • git diff --check

@mzeng-openai mzeng-openai requested a review from a team as a code owner April 7, 2026 23:07
@github-actions github-actions bot added T-test Testing related changes T-config Configuration file changes T-core Core library changes T-handler Handler implementation changes labels Apr 7, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

T-config Configuration file changes T-core Core library changes T-handler Handler implementation changes T-test Testing related changes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant