public sealed class McpServer.Types.Tool.Types.Annotations : IMessage<McpServer.Types.Tool.Types.Annotations>, IEquatable<McpServer.Types.Tool.Types.Annotations>, IDeepCloneable<McpServer.Types.Tool.Types.Annotations>, IBufferMessage, IMessageReference documentation and code samples for the Agent Registry v1 API class McpServer.Types.Tool.Types.Annotations.
Annotations describing the characteristics and behavior of a tool or operation.
Implements
IMessageMcpServerTypesToolTypesAnnotations, IEquatableMcpServerTypesToolTypesAnnotations, IDeepCloneableMcpServerTypesToolTypesAnnotations, IBufferMessage, IMessageNamespace
Google.Cloud.AgentRegistry.V1Assembly
Google.Cloud.AgentRegistry.V1.dll
Constructors
Annotations()
public Annotations()Annotations(Annotations)
public Annotations(McpServer.Types.Tool.Types.Annotations other)| Parameter | |
|---|---|
| Name | Description |
other |
McpServerTypesToolTypesAnnotations |
Properties
DestructiveHint
public bool DestructiveHint { get; set; }Output only. If true, the tool may perform destructive updates to its
environment. If false, the tool performs only additive updates. NOTE:
This property is meaningful only when read_only_hint == false
Default: true
| Property Value | |
|---|---|
| Type | Description |
bool |
|
IdempotentHint
public bool IdempotentHint { get; set; }Output only. If true, calling the tool repeatedly with the same
arguments will have no additional effect on its environment. NOTE: This
property is meaningful only when read_only_hint == false Default:
false
| Property Value | |
|---|---|
| Type | Description |
bool |
|
OpenWorldHint
public bool OpenWorldHint { get; set; }Output only. If true, this tool may interact with an "open world" of external entities. If false, the tool's domain of interaction is closed. For example, the world of a web search tool is open, whereas that of a memory tool is not. Default: true
| Property Value | |
|---|---|
| Type | Description |
bool |
|
ReadOnlyHint
public bool ReadOnlyHint { get; set; }Output only. If true, the tool does not modify its environment. Default: false
| Property Value | |
|---|---|
| Type | Description |
bool |
|
Title
public string Title { get; set; }Output only. A human-readable title for the tool.
| Property Value | |
|---|---|
| Type | Description |
string |
|