Gantt - WebMcpToolExecuteEventArgs

30 Sep 20261 minute to read

WebMCP Tool Execution Event Arguments.
Enables inspection/cancellation/confirmation prior to executing a WebMCP tool.

Properties

cancel boolean

Cancel the tool execution when set to true.

cancellationResponse string

Optional custom cancellation response sent back to the AI.

showConfirmationDialog boolean

Show confirmation dialog before executing a write operation.

toolArgs object

Arguments passed to the tool (shape matches the tool input schema).

toolName string

Name of the WebMCP tool being executed.