Skip to main content

Definition

Assembly: Microsoft.OData.Mcp.Core.dll Namespace: Microsoft.OData.Mcp.Core.Vocabularies Inheritance: System.Attribute

Syntax

Summary

Names JSON properties on an action result that are URLs to elicit. After OData routes are mapped, the host stamps Microsoft.OData.Mcp.V1.ElicitUrlProperties on the matching EDM action.

Remarks

Pair with McpTaskAttribute. Convention ModelBuilder hosts use HasMcpElicitUrl instead. When this term is omitted, the runtime elicits the default names in McpVocabulary.DefaultElicitUrlProperties if they appear on the Started JSON. Functions are not elicited.

Examples

Constructors

.ctor

Marks the method’s result JSON properties as URLs to elicit.

Syntax

Parameters

Properties

PropertyNames

Gets JSON property names for ElicitUrlProperties.

Syntax

Property Value

Type: string[]