Definition
Assembly: Microsoft.OData.Mcp.Core.dll Namespace: Microsoft.OData.Mcp.Core.Legacy.Generators Inheritance: System.ObjectSyntax
Summary
Options for controlling query tool generation behavior.Remarks
These options allow fine-grained control over which query features are enabled and how they behave, including OData query options and result formatting.Constructors
.ctor
Syntax
.ctor Inherited
Inherited from
objectSyntax
Properties
CustomProperties
Gets or sets custom properties that can be used by specific generators.Syntax
Property Value
Type:System.Collections.Generic.Dictionary<string, object>
A dictionary of custom properties for generator-specific configuration.
DefaultPageSize
Gets or sets the default page size for query results.Syntax
Property Value
Type:int
The default number of entities to return in a single page.
ExcludedEntityTypes
Gets or sets the list of entity types to exclude from tool generation.Syntax
Property Value
Type:System.Collections.Generic.HashSet<string>
A collection of entity type names to exclude.
ExcludedProperties
Gets or sets the list of properties to exclude from filtering and sorting.Syntax
Property Value
Type:System.Collections.Generic.Dictionary<string, System.Collections.Generic.HashSet<string>>
A dictionary mapping entity type names to lists of excluded properties.
GenerateCountTools
Gets or sets a value indicating whether to generate count tools.Syntax
Property Value
Type:bool
true to generate count tools; otherwise, false.
GenerateDetailedDescriptions
Gets or sets a value indicating whether to generate detailed descriptions for tools.Syntax
Property Value
Type:bool
true to generate detailed descriptions; otherwise, false.
GenerateListTools
Gets or sets a value indicating whether to generate list tools.Syntax
Property Value
Type:bool
true to generate list tools; otherwise, false.
GenerateSearchTools
Gets or sets a value indicating whether to generate search tools.Syntax
Property Value
Type:bool
true to generate search tools; otherwise, false.
IncludeExamples
Gets or sets a value indicating whether to include examples in tool descriptions.Syntax
Property Value
Type:bool
true to include examples; otherwise, false.
MaxPageSize
Gets or sets the maximum page size allowed for queries.Syntax
Property Value
Type:int
The maximum number of entities that can be requested in a single page.
NamingConvention
Gets or sets the naming convention to use for generated tool names.Syntax
Property Value
Type:Microsoft.OData.Mcp.Core.Legacy.Generators.ToolNamingConvention
The naming convention for tool names.
SupportExpand
Gets or sets a value indicating whether to support $expand query option.Syntax
Property Value
Type:bool
true to support expansion; otherwise, false.
SupportFilter
Gets or sets a value indicating whether to support $filter query option.Syntax
Property Value
Type:bool
true to support filtering; otherwise, false.
SupportOrderBy
Gets or sets a value indicating whether to support $orderby query option.Syntax
Property Value
Type:bool
true to support ordering; otherwise, false.
SupportSearch
Gets or sets a value indicating whether to support $search query option.Syntax
Property Value
Type:bool
true to support full-text search; otherwise, false.
SupportSelect
Gets or sets a value indicating whether to support $select query option.Syntax
Property Value
Type:bool
true to support projection; otherwise, false.
SupportSkip
Gets or sets a value indicating whether to support $skip query option.Syntax
Property Value
Type:bool
true to support skipping results; otherwise, false.
SupportTop
Gets or sets a value indicating whether to support $top query option.Syntax
Property Value
Type:bool
true to support top results; otherwise, false.
UseSchemaDescriptions
Gets or sets a value indicating whether to use schema descriptions for tool documentation.Syntax
Property Value
Type:bool
true to use schema descriptions; otherwise, false.
Methods
Equals Inherited Virtual
Inherited from
objectSyntax
Parameters
| Name | Type | Description |
|---|---|---|
obj | object? | - |
Returns
Type:bool
Equals Inherited
Inherited from
objectSyntax
Parameters
| Name | Type | Description |
|---|---|---|
objA | object? | - |
objB | object? | - |
Returns
Type:bool
GetHashCode Inherited Virtual
Inherited from
objectSyntax
Returns
Type:int
GetType Inherited
Inherited from
objectSyntax
Returns
Type:System.Type
MemberwiseClone Inherited
Inherited from
objectSyntax
Returns
Type:object
ReferenceEquals Inherited
Inherited from
objectSyntax
Parameters
| Name | Type | Description |
|---|---|---|
objA | object? | - |
objB | object? | - |
Returns
Type:bool
ToString Inherited Virtual
Inherited from
objectSyntax
Returns
Type:string?