Class TreeGridWebMcpExecuteEventArgs
Provides the details and host control for a WebMCP tool invocation.
Inherited Members
Namespace: Syncfusion.Blazor.TreeGrid
Assembly: Syncfusion.Blazor.TreeGrid.dll
Syntax
public sealed class TreeGridWebMcpExecuteEventArgs
Constructors
TreeGridWebMcpExecuteEventArgs()
Declaration
public TreeGridWebMcpExecuteEventArgs()
Properties
Arguments
Gets the tool arguments.
Declaration
public IReadOnlyDictionary<string, object>? Arguments { get; }
Property Value
| Type |
|---|
| IReadOnlyDictionary<string, object> |
Cancel
Gets or sets whether the host cancels the invocation.
Declaration
public bool Cancel { get; set; }
Property Value
| Type |
|---|
| bool |
CancellationResponse
Gets or sets the explanation returned when the host cancels the invocation.
Declaration
public string CancellationResponse { get; set; }
Property Value
| Type |
|---|
| string |
Command
Gets the command being executed.
Declaration
public TreeGridWebMcpToolCommand Command { get; }
Property Value
| Type |
|---|
| TreeGridWebMcpToolCommand |
Name
Gets the registered tool name.
Declaration
public string Name { get; }
Property Value
| Type |
|---|
| string |
Result
Gets or sets an optional host-provided response that bypasses the built-in handler.
Declaration
public string? Result { get; set; }
Property Value
| Type |
|---|
| string |
ShowConfirmationDialog
Gets or sets whether the tool is marked as requiring host confirmation.
Declaration
public bool ShowConfirmationDialog { get; set; }
Property Value
| Type |
|---|
| bool |