Class FileManagerWebMcpExecuteEventArgs
Event-argument model surfaced on
Syncfusion.Blazor.FileManager.FileManagerEvents{TValue}.OnWebMcpExecute.
Hosts can: set Cancel to abort; set ShowConfirmationDialog
to trigger the native confirmation gate; set a non-null Result
to skip the built-in handler and surface that value to the agent; or supply
a CancellationResponse to override the default
[USER_CANCELLED] sentinel.
Inherited Members
Namespace: Syncfusion.Blazor.FileManager
Assembly: Syncfusion.Blazor.FileManager.dll
Syntax
public class FileManagerWebMcpExecuteEventArgs
Constructors
FileManagerWebMcpExecuteEventArgs()
Declaration
public FileManagerWebMcpExecuteEventArgs()
Properties
Arguments
Agent arguments normalized to native CLR values.
Declaration
public IReadOnlyDictionary<string, object>? Arguments { get; set; }
Property Value
| Type |
|---|
| IReadOnlyDictionary<string, object> |
Cancel
Set true in the event handler to abort the tool.
Declaration
public bool Cancel { get; set; }
Property Value
| Type |
|---|
| bool |
CancellationResponse
Optional override of the [USER_CANCELLED] terminal sentinel.
Declaration
public string? CancellationResponse { get; set; }
Property Value
| Type |
|---|
| string |
Command
The built-in command this tool invocation resolves to.
Declaration
public FileManagerWebMcpToolCommand Command { get; set; }
Property Value
| Type |
|---|
| FileManagerWebMcpToolCommand |
Name
The bare camelCase tool name (e.g. createFolder).
Declaration
public string Name { get; set; }
Property Value
| Type |
|---|
| string |
Result
Replacement result as serialized JSON. A non-null value skips the built-in handler.
Declaration
public string? Result { get; set; }
Property Value
| Type |
|---|
| string |
ShowConfirmationDialog
Set true in the event handler to trigger the native confirmation gate.
Declaration
public bool ShowConfirmationDialog { get; set; }
Property Value
| Type |
|---|
| bool |