- 
                Notifications
    You must be signed in to change notification settings 
- Fork 555
Add ElicitAsync<T> (#630) #715
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
          
     Merged
      
      
            eiriktsarpalis
  merged 38 commits into
  modelcontextprotocol:main
from
mehrandvd:add-elicitasync
  
      
      
   
  Sep 15, 2025 
      
    
  
     Merged
                    Changes from all commits
      Commits
    
    
            Show all changes
          
          
            38 commits
          
        
        Select commit
          Hold shift + click to select a range
      
      6c04345
              
                Add ElicitAsync<T> (#630)
              
              
                mehrandvd 839e5f9
              
                Merge branch 'main' into add-elicitasync
              
              
                mehrandvd 9f1100b
              
                Fix the enum issue. for ElicitAsync<T>.
              
              
                mehrandvd 0259465
              
                Use AIJsonUtilities.CreateJsonSchema to create PrimitiveSchemaDefinit…
              
              
                mehrandvd 309b2da
              
                Merge latest main.
              
              
                mehrandvd e520a33
              
                Simplify ElicitAsync for schema validation. #630
              
              
                mehrandvd 86ecb95
              
                Merge branch 'modelcontextprotocol:main' into add-elicitasync
              
              
                mehrandvd 3d5a1d6
              
                Add error handling for unsupported elicitation types #630
              
              
                mehrandvd ade05e6
              
                Validate generic types in BuildRequestSchema #630
              
              
                mehrandvd a2fdf0a
              
                Move nullable types handling logic to ElicitationRequestParams.Covert…
              
              
                mehrandvd ec19bd5
              
                Add schema validation for elicitation requests
              
              
                mehrandvd 85e8e26
              
                Merge branch 'modelcontextprotocol:main' into add-elicitasync
              
              
                mehrandvd 49c3fa9
              
                Refactor nullable type pattern matching. #630
              
              
                mehrandvd f31815e
              
                Update src/ModelContextProtocol.Core/Server/McpServerExtensions.cs
              
              
                mehrandvd 1abcfde
              
                Update src/ModelContextProtocol.Core/Server/McpServerExtensions.cs
              
              
                mehrandvd 400b14d
              
                Update src/ModelContextProtocol.Core/Server/McpServerExtensions.cs
              
              
                mehrandvd 0ac795b
              
                Update src/ModelContextProtocol.Core/Server/McpServerExtensions.cs
              
              
                mehrandvd c78da12
              
                Update src/ModelContextProtocol.Core/Server/McpServerExtensions.cs
              
              
                mehrandvd 6457cbd
              
                Add ElicitResultSchemaCache. #630
              
              
                mehrandvd dfaedf3
              
                Prepopulate elicit schema validation logic. #630
              
              
                mehrandvd 18eae33
              
                Merge branch 'modelcontextprotocol:main' into add-elicitasync
              
              
                mehrandvd c8e9bc8
              
                Use Nullable.GetUnderlyingType to handle nullable types on elicitatio…
              
              
                mehrandvd 7f554ed
              
                Rename static field.
              
              
                mehrandvd c8b3a08
              
                Fix static field renamings. #630
              
              
                mehrandvd a227475
              
                Make BuildRequestSchema non-generic. #630
              
              
                mehrandvd d141073
              
                Avoid closure allocation for serializerOptions on netcore  #630
              
              
                mehrandvd 2f1dcf0
              
                Merge branch 'modelcontextprotocol:main' into add-elicitasync
              
              
                mehrandvd c5419c6
              
                Refactor ElicitRequestParams and McpServerExtensions. #630
              
              
                mehrandvd 1a32217
              
                Remove reduntant checks. #630
              
              
                mehrandvd 4f20c12
              
                Add IsAccepted property and update ElicitAsync return type
              
              
                mehrandvd 9419e11
              
                Rename to s_elicitAllowedProperties
              
              
                mehrandvd 4775040
              
                Fix renaming s_elicitAllowedProperties. #630
              
              
                mehrandvd a3b6c11
              
                Remove unnecessary json attributes. #630
              
              
                mehrandvd c5a22f6
              
                Improve xml comment
              
              
                mehrandvd 444dea7
              
                Remove extra IsAccepted property. #630
              
              
                mehrandvd 1d6c5c7
              
                Use IsAccepted for checks.
              
              
                mehrandvd 54e0f12
              
                Add IsAccepted to non-generic ElicitResult.
              
              
                mehrandvd ccb48e9
              
                Merge branch 'modelcontextprotocol:main' into add-elicitasync
              
              
                mehrandvd File filter
Filter by extension
Conversations
          Failed to load comments.   
        
        
          
      Loading
        
  Jump to
        
          Jump to file
        
      
      
          Failed to load files.   
        
        
          
      Loading
        
  Diff view
Diff view
There are no files selected for viewing
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
              
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
              
      
      Oops, something went wrong.
        
    
  
      
      Oops, something went wrong.
        
    
  
  Add this suggestion to a batch that can be applied as a single commit.
  This suggestion is invalid because no changes were made to the code.
  Suggestions cannot be applied while the pull request is closed.
  Suggestions cannot be applied while viewing a subset of changes.
  Only one suggestion per line can be applied in a batch.
  Add this suggestion to a batch that can be applied as a single commit.
  Applying suggestions on deleted lines is not supported.
  You must change the existing code in this line in order to create a valid suggestion.
  Outdated suggestions cannot be applied.
  This suggestion has been applied or marked resolved.
  Suggestions cannot be applied from pending reviews.
  Suggestions cannot be applied on multi-line comments.
  Suggestions cannot be applied while the pull request is queued to merge.
  Suggestion cannot be applied right now. Please check back later.
  
    
  
    
Uh oh!
There was an error while loading. Please reload this page.