ToolExecuteCallbackOptions Class

The options given to the ToolExecuteCallback of a tool (https://webmachinelearning.github.io/webmcp/#dictdef-toolexecutecallbackoptions).

public sealed class ToolExecuteCallbackOptions

Constructors

NameDescription
ToolExecuteCallbackOptions()

ToolExecuteCallbackOptions()

  • Obsolete: Constructors of types with required members are not supported in this version of your compiler.
[Obsolete("Constructors of types with required members are not supported in this version of your compiler.", true)]
public ToolExecuteCallbackOptions()

No documentation is available.

Properties

NameDescription
SignalGets the signal that is aborted when the execution of the tool is canceled (by the caller, or because the document of the caller was unloaded).

Gets the signal that is aborted when the execution of the tool is canceled (by the caller, or because the document of the caller was unloaded).

public required AbortSignal Signal { get; init; }