ToolAnnotations Class
The hints that describe the behavior of a tool (https://webmachinelearning.github.io/webmcp/#dictdef-toolannotations).
public sealed class ToolAnnotationsConstructors
| Name | Description |
|---|---|
| ToolAnnotations() |
ToolAnnotations()
public ToolAnnotations()No documentation is available.
Properties
| Name | Description |
|---|---|
| ConsequentialHint | Gets whether executing the tool has significant, real-world or non-reversible consequences (e.g. a payment). |
| Debugging | Gets whether the tool is intended for debugging and developer tooling rather than for the end users. |
| ReadOnlyHint | Gets whether the tool does not modify any state and only reads data. |
| UntrustedContentHint | Gets whether the output of the tool contains data that the author of the tool does not trust. |
ConsequentialHint
ModelContextTypes.csGets whether executing the tool has significant, real-world or non-reversible consequences (e.g. a payment).
public bool ConsequentialHint { get; init; }Property value
See also
Debugging
ModelContextTypes.csGets whether the tool is intended for debugging and developer tooling rather than for the end users.
public bool Debugging { get; init; }Property value
See also
ReadOnlyHint
ModelContextTypes.csGets whether the tool does not modify any state and only reads data.
public bool ReadOnlyHint { get; init; }Property value
See also
UntrustedContentHint
ModelContextTypes.csGets whether the output of the tool contains data that the author of the tool does not trust.
public bool UntrustedContentHint { get; init; }