feat: add meta to elicitation results (#792)

This commit is contained in:
Matthew Zeng 2026-04-08 12:07:04 -07:00 • committed by GitHub
commit 5f432834a1
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -122,6 +122,7 @@ impl ClientHandler for ElicitationDefaultsClientHandler {
Ok(CreateElicitationResult {
action: ElicitationAction::Accept,
content,
meta: None,
})
}
}
@ -174,6 +175,7 @@ impl ClientHandler for FullClientHandler {
Ok(CreateElicitationResult {
action: ElicitationAction::Accept,
content: Some(json!({"username": "testuser", "email": "test@example.com"})),
meta: None,
})
}
}