Definition
Assembly: Microsoft.OData.Mcp.Core.dll Namespace: Microsoft.OData.Mcp.Core.Catalog Inheritance: System.ObjectSyntax
Summary
Before-invoke form elicitation: client gate, MRTR, merge, decline.Remarks
Tools (remote$metadata) uses this before invoke with ElicitFormMapper.
In-process AspNetCore actions call RequireForm. Schema default is the form
author’s; the harness may pre-fill the widget from tool arguments.
Methods
BeforeInvokeAsync
Collects operator fields before OData invoke when the action hasMicrosoft.OData.Mcp.V1.ElicitForm and the client advertised form elicitation.
Syntax
Parameters
Returns
Type:System.Threading.Tasks.ValueTask<ModelContextProtocol.Protocol.CallToolRequestParams?>
Merged call params after accept; null when elicitation does not apply.