Is your feature request related to a problem? Please describe.
Customizing json schema generation is currently not possible via AIJsonSchemaCreateOptions when adding capabilities e.g. via IMcpServerBuilder.WithResources(), IMcpServerBuilder.WithTools() etc.
WithPrompts and WithTools methods allow to specify JsonSerializerOptions while this cannot be done for WithResources.
Describe the solution you'd like
Add optional AIJsonSchemaCreateOptions argument to WithResources, WithTools , and WithPrompts method to allow schema customization.
Add optional JsonSerializerOptions argument to each WithResources method to allow setting serializer options.
Describe alternatives you've considered
none
Additional context
n/a
Is your feature request related to a problem? Please describe.
Customizing json schema generation is currently not possible via
AIJsonSchemaCreateOptionswhen adding capabilities e.g. viaIMcpServerBuilder.WithResources(),IMcpServerBuilder.WithTools()etc.WithPromptsandWithToolsmethods allow to specifyJsonSerializerOptionswhile this cannot be done forWithResources.Describe the solution you'd like
Add optional
AIJsonSchemaCreateOptionsargument toWithResources,WithTools, andWithPromptsmethod to allow schema customization.Add optional
JsonSerializerOptionsargument to eachWithResourcesmethod to allow setting serializer options.Describe alternatives you've considered
none
Additional context
n/a