Class WebMcpToolExecuteOptions
- Namespace
- PuppeteerSharp.Cdp
- Assembly
- PuppeteerSharp.dll
Options for ExecuteAsync(object, WebMcpToolExecuteOptions).
public class WebMcpToolExecuteOptions
- Inheritance
-
WebMcpToolExecuteOptions
Properties
CancellationToken
A CancellationToken that allows you to cancel the tool execution.
public CancellationToken CancellationToken { get; set; }
Property Value
Remarks
This is the .NET equivalent of the upstream AbortController/AbortSignal pattern. When the token is cancelled, PuppeteerSharp requests cancellation via CDP and the execution resolves with Canceled rather than throwing OperationCanceledException.