File tree Expand file tree Collapse file tree 1 file changed +15
-0
lines changed
src/ModelContextProtocol.Core/Server Expand file tree Collapse file tree 1 file changed +15
-0
lines changed Original file line number Diff line number Diff line change @@ -81,6 +81,21 @@ public sealed class McpServerOptions
8181 /// </remarks>
8282 public JsonSerializerOptions ? JsonSerializerOptions { get ; set ; }
8383
84+ /// <summary>
85+ /// Gets or sets the default JSON schema creation options to use for tools, prompts, and resources.
86+ /// </summary>
87+ /// <remarks>
88+ /// <para>
89+ /// This property provides server-wide default schema creation settings that will be used
90+ /// by all tools, prompts, and resources unless they explicitly specify their own
91+ /// <see cref="Microsoft.Extensions.AI.AIJsonSchemaCreateOptions"/> during registration.
92+ /// </para>
93+ /// <para>
94+ /// If not set, defaults to <see cref="Microsoft.Extensions.AI.AIJsonSchemaCreateOptions.Default"/>.
95+ /// </para>
96+ /// </remarks>
97+ public Microsoft . Extensions . AI . AIJsonSchemaCreateOptions ? SchemaCreateOptions { get ; set ; }
98+
8499 /// <summary>
85100 /// Gets or sets whether to create a new service provider scope for each handled request.
86101 /// </summary>
You can’t perform that action at this time.
0 commit comments