ToolAnnotations Class

The hints that describe the behavior of a tool (https://webmachinelearning.github.io/webmcp/#dictdef-toolannotations).

public sealed class ToolAnnotations

Constructors

NameDescription
ToolAnnotations()

ToolAnnotations()

public ToolAnnotations()

No documentation is available.

Properties

NameDescription
ConsequentialHintGets whether executing the tool has significant, real-world or non-reversible consequences (e.g. a payment).
DebuggingGets whether the tool is intended for debugging and developer tooling rather than for the end users.
ReadOnlyHintGets whether the tool does not modify any state and only reads data.
UntrustedContentHintGets whether the output of the tool contains data that the author of the tool does not trust.

ConsequentialHint

ModelContextTypes.cs

Gets whether executing the tool has significant, real-world or non-reversible consequences (e.g. a payment).

public bool ConsequentialHint { get; init; }

Gets whether the tool is intended for debugging and developer tooling rather than for the end users.

public bool Debugging { get; init; }

Gets whether the tool does not modify any state and only reads data.

public bool ReadOnlyHint { get; init; }

UntrustedContentHint

ModelContextTypes.cs

Gets whether the output of the tool contains data that the author of the tool does not trust.

public bool UntrustedContentHint { get; init; }