Skip to main content

Definition

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

Syntax

Summary

Marks a tool so MCP elicits a named form before the member runs. WithTasksPlus keeps the call on tools/call Multi Round-Trip Requests (Synchronous).

Remarks

Pass the same name to AddFormElicitation and RequireForm. Class-level usage applies to every [McpServerTool] method on the type. When both this attribute and McpElicitUrlAttribute are present, the form wins.

Examples

Constructors

.ctor

Marks the member as eliciting the named form.

Syntax

Parameters

Exceptions

Properties

Name

Gets the keyed form name.

Syntax

Property Value

Type: string