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 URL after the member produces one. WithTasksPlus wraps the call as Optional so a task can outlive the POST while the operator is in the browser.

Remarks

Constructor arguments name JSON properties on the result that hold URLs (connectUri, authorizationUrl, and similar). An empty list leaves the host to apply its own defaults. Class-level usage applies to every [McpServerTool] method on the type. When McpElicitFormAttribute is also present, the form wins and the call stays on tools/call.

Examples

Constructors

.ctor

Marks the member as eliciting URLs from the given result properties.

Syntax

Parameters

Exceptions

Properties

PropertyNames

Gets JSON property names that hold URLs to elicit.

Syntax

Property Value

Type: string[]