Class KanbanWebMcpExecuteEventArgs
Provides information about a WebMCP tool invocation before it executes.
Inherited Members
Namespace: Syncfusion.Blazor.Kanban
Assembly: Syncfusion.Blazor.Kanban.dll
Syntax
public class KanbanWebMcpExecuteEventArgs : EventArgs
Remarks
The host uses this event to audit agent activity, cancel an operation outright, or ask the component to display a confirmation prompt before a write is applied.
Constructors
KanbanWebMcpExecuteEventArgs()
Declaration
public KanbanWebMcpExecuteEventArgs()
Properties
Arguments
Gets or sets the arguments the agent supplied as native CLR values.
Declaration
public IReadOnlyDictionary<string, object?>? Arguments { get; set; }
Property Value
| Type |
|---|
| IReadOnlyDictionary<string, object> |
Cancel
Gets or sets a value indicating whether the operation is cancelled.
Declaration
public bool Cancel { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |
|
Remarks
A cancelled operation never runs, and the agent receives a terminal response that states the request must not be retried.
CancellationResponse
Gets or sets the message returned to the agent when the operation is cancelled.
Declaration
public string? CancellationResponse { get; set; }
Property Value
| Type | Description |
|---|---|
| string | A message that replaces the default cancellation sentinel. |
Command
Gets or sets the command the agent invoked.
Declaration
public KanbanWebMcpToolCommand Command { get; }
Property Value
| Type |
|---|
| KanbanWebMcpToolCommand |
Name
Gets or sets the bare, unprefixed tool name.
Declaration
public string? Name { get; }
Property Value
| Type |
|---|
| string |
Result
Gets or sets the result returned to the agent. Custom tools must set this property.
Declaration
public object? Result { get; set; }
Property Value
| Type |
|---|
| object |
ShowConfirmationDialog
Gets or sets a value indicating whether the component asks the user to confirm the operation before it runs.
Declaration
public bool ShowConfirmationDialog { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |
|
Remarks
Read-only tools never show a confirmation prompt, even when this property is set.