Skip to main content

Definition

Assembly: CloudNimble.McpEssentials.Core.dll Namespace: CloudNimble.McpEssentials.Core.Tasks.Elicitations Inheritance: System.Object

Syntax

Summary

Starts a fluent MCP form elicitation. String) is untyped; String) seeds fields from a CLR type, then the same chain customizes them. JsonSerializerOptions) projects an accepted result onto that type.

Methods

Bind

Projects accepted form content onto T. Cancel and decline return default content.

Syntax

Parameters

Returns

Type: ModelContextProtocol.Protocol.ElicitResult<T> A typed result with the same action as result.

Type Parameters

  • T - The form type. Property names match camelCase wire names.

Exceptions

Create

Starts an empty form with message as the prompt.

Syntax

Parameters

Returns

Type: CloudNimble.McpEssentials.Core.Tasks.Elicitations.FormElicitationBuilder An untyped form builder.

Exceptions

From

Starts a form seeded from the public instance properties of T.

Syntax

Parameters

Returns

Type: CloudNimble.McpEssentials.Core.Tasks.Elicitations.FormElicitationBuilder<T> A typed form builder.

Type Parameters

  • T - The form type. Unmappable properties are skipped.

Exceptions