Chart - WebMcpToolExecuteEventArgs

30 Sep 20261 minute to read

Defines the event arguments raised before a WebMCP tool executes.

Properties

cancel boolean

Cancels the tool execution when set to true.

cancellationResponse string

Custom response returned when execution is cancelled.

showConfirmationDialog boolean

Requests user confirmation before the tool executes.

toolArgs object

Arguments supplied to the WebMCP tool.

toolName string

Name of the WebMCP tool being executed.