API hub v1 API - Class ToolAnnotations (1.3.0)

public sealed class ToolAnnotations : IMessage<ToolAnnotations>, IEquatable<ToolAnnotations>, IDeepCloneable<ToolAnnotations>, IBufferMessage, IMessage

Reference documentation and code samples for the API hub v1 API class ToolAnnotations.

Annotations for a Tool.

Inheritance

object > ToolAnnotations

Namespace

Google.Cloud.ApiHub.V1

Assembly

Google.Cloud.ApiHub.V1.dll

Constructors

ToolAnnotations()

public ToolAnnotations()

ToolAnnotations(ToolAnnotations)

public ToolAnnotations(ToolAnnotations other)
Parameter
Name Description
other ToolAnnotations

Properties

AdditionalHints

public MapField<string, string> AdditionalHints { get; }

Optional. Additional hints which may help tools and not covered in defaults.

Property Value
Type Description
MapFieldstringstring

DestructiveHint

public bool DestructiveHint { get; set; }

Optional. Hint indicating if the tool may have destructive side effects.

Property Value
Type Description
bool

HasDestructiveHint

public bool HasDestructiveHint { get; }

Gets whether the "destructive_hint" field is set

Property Value
Type Description
bool

HasIdempotentHint

public bool HasIdempotentHint { get; }

Gets whether the "idempotent_hint" field is set

Property Value
Type Description
bool

HasOpenWorldHint

public bool HasOpenWorldHint { get; }

Gets whether the "open_world_hint" field is set

Property Value
Type Description
bool

HasReadOnlyHint

public bool HasReadOnlyHint { get; }

Gets whether the "read_only_hint" field is set

Property Value
Type Description
bool

IdempotentHint

public bool IdempotentHint { get; set; }

Optional. Hint indicating if the tool is idempotent.

Property Value
Type Description
bool

OpenWorldHint

public bool OpenWorldHint { get; set; }

Optional. Hint indicating if the tool interacts with the open world (e.g., internet).

Property Value
Type Description
bool

ReadOnlyHint

public bool ReadOnlyHint { get; set; }

Optional. Hint indicating if the tool is read-only.

Property Value
Type Description
bool

Title

public string Title { get; set; }

Optional. A human-readable title for the tool (if different from Tool.title).

Property Value
Type Description
string