Class McpTool.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<McpTool.Builder>
com.google.cloud.apiregistry.v1beta.McpTool.Builder
- All Implemented Interfaces:
McpToolOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- McpTool
public static final class McpTool.Builder
extends com.google.protobuf.GeneratedMessage.Builder<McpTool.Builder>
implements McpToolOrBuilder
Message describing McpTool objectProtobuf type
google.cloud.apiregistry.v1beta.McpTool-
Method Summary
Modifier and TypeMethodDescriptionaddAllMcpServerUrls(Iterable<String> values) Automatically populated reference to MCP Server.addMcpServerUrls(String value) Automatically populated reference to MCP Server.addMcpServerUrlsBytes(com.google.protobuf.ByteString value) Automatically populated reference to MCP Server.build()clear()Optional key-value object that allows developers to provide additional information regarding tool properties, behavior, and usage best practices.A human-readable description of the tool's functionality.Optional.A JSON Schema object defining the expected parameters for invoking the tool.Automatically populated reference to MCP Server.Identifier.Optional.com.google.protobuf.StructOptional key-value object that allows developers to provide additional information regarding tool properties, behavior, and usage best practices.com.google.protobuf.Struct.BuilderOptional key-value object that allows developers to provide additional information regarding tool properties, behavior, and usage best practices.com.google.protobuf.StructOrBuilderOptional key-value object that allows developers to provide additional information regarding tool properties, behavior, and usage best practices.A human-readable description of the tool's functionality.com.google.protobuf.ByteStringA human-readable description of the tool's functionality.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorOptional.com.google.protobuf.ByteStringOptional.com.google.protobuf.StructA JSON Schema object defining the expected parameters for invoking the tool.com.google.protobuf.Struct.BuilderA JSON Schema object defining the expected parameters for invoking the tool.com.google.protobuf.StructOrBuilderA JSON Schema object defining the expected parameters for invoking the tool.getMcpServerUrls(int index) Automatically populated reference to MCP Server.com.google.protobuf.ByteStringgetMcpServerUrlsBytes(int index) Automatically populated reference to MCP Server.intAutomatically populated reference to MCP Server.com.google.protobuf.ProtocolStringListAutomatically populated reference to MCP Server.getName()Identifier.com.google.protobuf.ByteStringIdentifier.com.google.protobuf.StructOptional.com.google.protobuf.Struct.BuilderOptional.com.google.protobuf.StructOrBuilderOptional.booleanOptional key-value object that allows developers to provide additional information regarding tool properties, behavior, and usage best practices.booleanA JSON Schema object defining the expected parameters for invoking the tool.booleanOptional.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeAnnotations(com.google.protobuf.Struct value) Optional key-value object that allows developers to provide additional information regarding tool properties, behavior, and usage best practices.mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeInputSchema(com.google.protobuf.Struct value) A JSON Schema object defining the expected parameters for invoking the tool.mergeOutputSchema(com.google.protobuf.Struct value) Optional.setAnnotations(com.google.protobuf.Struct value) Optional key-value object that allows developers to provide additional information regarding tool properties, behavior, and usage best practices.setAnnotations(com.google.protobuf.Struct.Builder builderForValue) Optional key-value object that allows developers to provide additional information regarding tool properties, behavior, and usage best practices.setDescription(String value) A human-readable description of the tool's functionality.setDescriptionBytes(com.google.protobuf.ByteString value) A human-readable description of the tool's functionality.setDisplayName(String value) Optional.setDisplayNameBytes(com.google.protobuf.ByteString value) Optional.setInputSchema(com.google.protobuf.Struct value) A JSON Schema object defining the expected parameters for invoking the tool.setInputSchema(com.google.protobuf.Struct.Builder builderForValue) A JSON Schema object defining the expected parameters for invoking the tool.setMcpServerUrls(int index, String value) Automatically populated reference to MCP Server.Identifier.setNameBytes(com.google.protobuf.ByteString value) Identifier.setOutputSchema(com.google.protobuf.Struct value) Optional.setOutputSchema(com.google.protobuf.Struct.Builder builderForValue) Optional.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<McpTool.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<McpTool.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<McpTool.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<McpTool.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<McpTool.Builder>
-
mergeFrom
public McpTool.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<McpTool.Builder>- Throws:
IOException
-
getName
Identifier. The resource name of the McpTool. Format: `projects/{project}/locations/{location}/mcpServers/{mcp_server}/mcpTools/{mcp_tool}`. Example: projects/12345/locations/us-central1/mcpServers/google:bigquery.googleapis.com:mcp/mcpTools/insert_job for 1p projects/12345/locations/us-central1/mcpServers/apphub:starbucks/mcpTools/order_pizza for 2pstring name = 1 [(.google.api.field_behavior) = IDENTIFIER];- Specified by:
getNamein interfaceMcpToolOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()Identifier. The resource name of the McpTool. Format: `projects/{project}/locations/{location}/mcpServers/{mcp_server}/mcpTools/{mcp_tool}`. Example: projects/12345/locations/us-central1/mcpServers/google:bigquery.googleapis.com:mcp/mcpTools/insert_job for 1p projects/12345/locations/us-central1/mcpServers/apphub:starbucks/mcpTools/order_pizza for 2pstring name = 1 [(.google.api.field_behavior) = IDENTIFIER];- Specified by:
getNameBytesin interfaceMcpToolOrBuilder- Returns:
- The bytes for name.
-
setName
Identifier. The resource name of the McpTool. Format: `projects/{project}/locations/{location}/mcpServers/{mcp_server}/mcpTools/{mcp_tool}`. Example: projects/12345/locations/us-central1/mcpServers/google:bigquery.googleapis.com:mcp/mcpTools/insert_job for 1p projects/12345/locations/us-central1/mcpServers/apphub:starbucks/mcpTools/order_pizza for 2pstring name = 1 [(.google.api.field_behavior) = IDENTIFIER];- Parameters:
value- The name to set.- Returns:
- This builder for chaining.
-
clearName
Identifier. The resource name of the McpTool. Format: `projects/{project}/locations/{location}/mcpServers/{mcp_server}/mcpTools/{mcp_tool}`. Example: projects/12345/locations/us-central1/mcpServers/google:bigquery.googleapis.com:mcp/mcpTools/insert_job for 1p projects/12345/locations/us-central1/mcpServers/apphub:starbucks/mcpTools/order_pizza for 2pstring name = 1 [(.google.api.field_behavior) = IDENTIFIER];- Returns:
- This builder for chaining.
-
setNameBytes
Identifier. The resource name of the McpTool. Format: `projects/{project}/locations/{location}/mcpServers/{mcp_server}/mcpTools/{mcp_tool}`. Example: projects/12345/locations/us-central1/mcpServers/google:bigquery.googleapis.com:mcp/mcpTools/insert_job for 1p projects/12345/locations/us-central1/mcpServers/apphub:starbucks/mcpTools/order_pizza for 2pstring name = 1 [(.google.api.field_behavior) = IDENTIFIER];- Parameters:
value- The bytes for name to set.- Returns:
- This builder for chaining.
-
getDisplayName
Optional. A human-readable name for the tool, suitable for display.
string display_name = 2 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getDisplayNamein interfaceMcpToolOrBuilder- Returns:
- The displayName.
-
getDisplayNameBytes
public com.google.protobuf.ByteString getDisplayNameBytes()Optional. A human-readable name for the tool, suitable for display.
string display_name = 2 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getDisplayNameBytesin interfaceMcpToolOrBuilder- Returns:
- The bytes for displayName.
-
setDisplayName
Optional. A human-readable name for the tool, suitable for display.
string display_name = 2 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
value- The displayName to set.- Returns:
- This builder for chaining.
-
clearDisplayName
Optional. A human-readable name for the tool, suitable for display.
string display_name = 2 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- This builder for chaining.
-
setDisplayNameBytes
Optional. A human-readable name for the tool, suitable for display.
string display_name = 2 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
value- The bytes for displayName to set.- Returns:
- This builder for chaining.
-
getDescription
A human-readable description of the tool's functionality.
string description = 3;- Specified by:
getDescriptionin interfaceMcpToolOrBuilder- Returns:
- The description.
-
getDescriptionBytes
public com.google.protobuf.ByteString getDescriptionBytes()A human-readable description of the tool's functionality.
string description = 3;- Specified by:
getDescriptionBytesin interfaceMcpToolOrBuilder- Returns:
- The bytes for description.
-
setDescription
A human-readable description of the tool's functionality.
string description = 3;- Parameters:
value- The description to set.- Returns:
- This builder for chaining.
-
clearDescription
A human-readable description of the tool's functionality.
string description = 3;- Returns:
- This builder for chaining.
-
setDescriptionBytes
A human-readable description of the tool's functionality.
string description = 3;- Parameters:
value- The bytes for description to set.- Returns:
- This builder for chaining.
-
getMcpServerUrlsList
public com.google.protobuf.ProtocolStringList getMcpServerUrlsList()Automatically populated reference to MCP Server. Helpful when multiple tools are requested across different MCP Servers.
repeated string mcp_server_urls = 4;- Specified by:
getMcpServerUrlsListin interfaceMcpToolOrBuilder- Returns:
- A list containing the mcpServerUrls.
-
getMcpServerUrlsCount
public int getMcpServerUrlsCount()Automatically populated reference to MCP Server. Helpful when multiple tools are requested across different MCP Servers.
repeated string mcp_server_urls = 4;- Specified by:
getMcpServerUrlsCountin interfaceMcpToolOrBuilder- Returns:
- The count of mcpServerUrls.
-
getMcpServerUrls
Automatically populated reference to MCP Server. Helpful when multiple tools are requested across different MCP Servers.
repeated string mcp_server_urls = 4;- Specified by:
getMcpServerUrlsin interfaceMcpToolOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The mcpServerUrls at the given index.
-
getMcpServerUrlsBytes
public com.google.protobuf.ByteString getMcpServerUrlsBytes(int index) Automatically populated reference to MCP Server. Helpful when multiple tools are requested across different MCP Servers.
repeated string mcp_server_urls = 4;- Specified by:
getMcpServerUrlsBytesin interfaceMcpToolOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the mcpServerUrls at the given index.
-
setMcpServerUrls
Automatically populated reference to MCP Server. Helpful when multiple tools are requested across different MCP Servers.
repeated string mcp_server_urls = 4;- Parameters:
index- The index to set the value at.value- The mcpServerUrls to set.- Returns:
- This builder for chaining.
-
addMcpServerUrls
Automatically populated reference to MCP Server. Helpful when multiple tools are requested across different MCP Servers.
repeated string mcp_server_urls = 4;- Parameters:
value- The mcpServerUrls to add.- Returns:
- This builder for chaining.
-
addAllMcpServerUrls
Automatically populated reference to MCP Server. Helpful when multiple tools are requested across different MCP Servers.
repeated string mcp_server_urls = 4;- Parameters:
values- The mcpServerUrls to add.- Returns:
- This builder for chaining.
-
clearMcpServerUrls
Automatically populated reference to MCP Server. Helpful when multiple tools are requested across different MCP Servers.
repeated string mcp_server_urls = 4;- Returns:
- This builder for chaining.
-
addMcpServerUrlsBytes
Automatically populated reference to MCP Server. Helpful when multiple tools are requested across different MCP Servers.
repeated string mcp_server_urls = 4;- Parameters:
value- The bytes of the mcpServerUrls to add.- Returns:
- This builder for chaining.
-
hasInputSchema
public boolean hasInputSchema()A JSON Schema object defining the expected parameters for invoking the tool.
.google.protobuf.Struct input_schema = 5;- Specified by:
hasInputSchemain interfaceMcpToolOrBuilder- Returns:
- Whether the inputSchema field is set.
-
getInputSchema
public com.google.protobuf.Struct getInputSchema()A JSON Schema object defining the expected parameters for invoking the tool.
.google.protobuf.Struct input_schema = 5;- Specified by:
getInputSchemain interfaceMcpToolOrBuilder- Returns:
- The inputSchema.
-
setInputSchema
A JSON Schema object defining the expected parameters for invoking the tool.
.google.protobuf.Struct input_schema = 5; -
setInputSchema
A JSON Schema object defining the expected parameters for invoking the tool.
.google.protobuf.Struct input_schema = 5; -
mergeInputSchema
A JSON Schema object defining the expected parameters for invoking the tool.
.google.protobuf.Struct input_schema = 5; -
clearInputSchema
A JSON Schema object defining the expected parameters for invoking the tool.
.google.protobuf.Struct input_schema = 5; -
getInputSchemaBuilder
public com.google.protobuf.Struct.Builder getInputSchemaBuilder()A JSON Schema object defining the expected parameters for invoking the tool.
.google.protobuf.Struct input_schema = 5; -
getInputSchemaOrBuilder
public com.google.protobuf.StructOrBuilder getInputSchemaOrBuilder()A JSON Schema object defining the expected parameters for invoking the tool.
.google.protobuf.Struct input_schema = 5;- Specified by:
getInputSchemaOrBuilderin interfaceMcpToolOrBuilder
-
hasOutputSchema
public boolean hasOutputSchema()Optional. A JSON Schema object defining the expected structure of the tool's output.
.google.protobuf.Struct output_schema = 6;- Specified by:
hasOutputSchemain interfaceMcpToolOrBuilder- Returns:
- Whether the outputSchema field is set.
-
getOutputSchema
public com.google.protobuf.Struct getOutputSchema()Optional. A JSON Schema object defining the expected structure of the tool's output.
.google.protobuf.Struct output_schema = 6;- Specified by:
getOutputSchemain interfaceMcpToolOrBuilder- Returns:
- The outputSchema.
-
setOutputSchema
Optional. A JSON Schema object defining the expected structure of the tool's output.
.google.protobuf.Struct output_schema = 6; -
setOutputSchema
Optional. A JSON Schema object defining the expected structure of the tool's output.
.google.protobuf.Struct output_schema = 6; -
mergeOutputSchema
Optional. A JSON Schema object defining the expected structure of the tool's output.
.google.protobuf.Struct output_schema = 6; -
clearOutputSchema
Optional. A JSON Schema object defining the expected structure of the tool's output.
.google.protobuf.Struct output_schema = 6; -
getOutputSchemaBuilder
public com.google.protobuf.Struct.Builder getOutputSchemaBuilder()Optional. A JSON Schema object defining the expected structure of the tool's output.
.google.protobuf.Struct output_schema = 6; -
getOutputSchemaOrBuilder
public com.google.protobuf.StructOrBuilder getOutputSchemaOrBuilder()Optional. A JSON Schema object defining the expected structure of the tool's output.
.google.protobuf.Struct output_schema = 6;- Specified by:
getOutputSchemaOrBuilderin interfaceMcpToolOrBuilder
-
hasAnnotations
public boolean hasAnnotations()Optional key-value object that allows developers to provide additional information regarding tool properties, behavior, and usage best practices. Annotations or tags to facilitate semantic search across tools ("semantic tags") are not in the MVP scope. When implemented, the first set of supported annotations will likely be the standard, predefined annotations from the open-source MCP spec. These include: - title: A human-readable title for the tool, useful for UI display. - readOnlyHint: If true, indicates the tool does not modify its environment. - destructiveHint: If true, the tool may perform destructive updates (only meaningful when readOnlyHint is false). - idempotentHint: If true, calling the tool repeatedly with the same arguments has no additional effect (only meaningful when readOnlyHint is false). - openWorldHint: If true, the tool may interact with an "open world" of external entities..google.protobuf.Struct annotations = 7;- Specified by:
hasAnnotationsin interfaceMcpToolOrBuilder- Returns:
- Whether the annotations field is set.
-
getAnnotations
public com.google.protobuf.Struct getAnnotations()Optional key-value object that allows developers to provide additional information regarding tool properties, behavior, and usage best practices. Annotations or tags to facilitate semantic search across tools ("semantic tags") are not in the MVP scope. When implemented, the first set of supported annotations will likely be the standard, predefined annotations from the open-source MCP spec. These include: - title: A human-readable title for the tool, useful for UI display. - readOnlyHint: If true, indicates the tool does not modify its environment. - destructiveHint: If true, the tool may perform destructive updates (only meaningful when readOnlyHint is false). - idempotentHint: If true, calling the tool repeatedly with the same arguments has no additional effect (only meaningful when readOnlyHint is false). - openWorldHint: If true, the tool may interact with an "open world" of external entities..google.protobuf.Struct annotations = 7;- Specified by:
getAnnotationsin interfaceMcpToolOrBuilder- Returns:
- The annotations.
-
setAnnotations
Optional key-value object that allows developers to provide additional information regarding tool properties, behavior, and usage best practices. Annotations or tags to facilitate semantic search across tools ("semantic tags") are not in the MVP scope. When implemented, the first set of supported annotations will likely be the standard, predefined annotations from the open-source MCP spec. These include: - title: A human-readable title for the tool, useful for UI display. - readOnlyHint: If true, indicates the tool does not modify its environment. - destructiveHint: If true, the tool may perform destructive updates (only meaningful when readOnlyHint is false). - idempotentHint: If true, calling the tool repeatedly with the same arguments has no additional effect (only meaningful when readOnlyHint is false). - openWorldHint: If true, the tool may interact with an "open world" of external entities..google.protobuf.Struct annotations = 7; -
setAnnotations
Optional key-value object that allows developers to provide additional information regarding tool properties, behavior, and usage best practices. Annotations or tags to facilitate semantic search across tools ("semantic tags") are not in the MVP scope. When implemented, the first set of supported annotations will likely be the standard, predefined annotations from the open-source MCP spec. These include: - title: A human-readable title for the tool, useful for UI display. - readOnlyHint: If true, indicates the tool does not modify its environment. - destructiveHint: If true, the tool may perform destructive updates (only meaningful when readOnlyHint is false). - idempotentHint: If true, calling the tool repeatedly with the same arguments has no additional effect (only meaningful when readOnlyHint is false). - openWorldHint: If true, the tool may interact with an "open world" of external entities..google.protobuf.Struct annotations = 7; -
mergeAnnotations
Optional key-value object that allows developers to provide additional information regarding tool properties, behavior, and usage best practices. Annotations or tags to facilitate semantic search across tools ("semantic tags") are not in the MVP scope. When implemented, the first set of supported annotations will likely be the standard, predefined annotations from the open-source MCP spec. These include: - title: A human-readable title for the tool, useful for UI display. - readOnlyHint: If true, indicates the tool does not modify its environment. - destructiveHint: If true, the tool may perform destructive updates (only meaningful when readOnlyHint is false). - idempotentHint: If true, calling the tool repeatedly with the same arguments has no additional effect (only meaningful when readOnlyHint is false). - openWorldHint: If true, the tool may interact with an "open world" of external entities..google.protobuf.Struct annotations = 7; -
clearAnnotations
Optional key-value object that allows developers to provide additional information regarding tool properties, behavior, and usage best practices. Annotations or tags to facilitate semantic search across tools ("semantic tags") are not in the MVP scope. When implemented, the first set of supported annotations will likely be the standard, predefined annotations from the open-source MCP spec. These include: - title: A human-readable title for the tool, useful for UI display. - readOnlyHint: If true, indicates the tool does not modify its environment. - destructiveHint: If true, the tool may perform destructive updates (only meaningful when readOnlyHint is false). - idempotentHint: If true, calling the tool repeatedly with the same arguments has no additional effect (only meaningful when readOnlyHint is false). - openWorldHint: If true, the tool may interact with an "open world" of external entities..google.protobuf.Struct annotations = 7; -
getAnnotationsBuilder
public com.google.protobuf.Struct.Builder getAnnotationsBuilder()Optional key-value object that allows developers to provide additional information regarding tool properties, behavior, and usage best practices. Annotations or tags to facilitate semantic search across tools ("semantic tags") are not in the MVP scope. When implemented, the first set of supported annotations will likely be the standard, predefined annotations from the open-source MCP spec. These include: - title: A human-readable title for the tool, useful for UI display. - readOnlyHint: If true, indicates the tool does not modify its environment. - destructiveHint: If true, the tool may perform destructive updates (only meaningful when readOnlyHint is false). - idempotentHint: If true, calling the tool repeatedly with the same arguments has no additional effect (only meaningful when readOnlyHint is false). - openWorldHint: If true, the tool may interact with an "open world" of external entities..google.protobuf.Struct annotations = 7; -
getAnnotationsOrBuilder
public com.google.protobuf.StructOrBuilder getAnnotationsOrBuilder()Optional key-value object that allows developers to provide additional information regarding tool properties, behavior, and usage best practices. Annotations or tags to facilitate semantic search across tools ("semantic tags") are not in the MVP scope. When implemented, the first set of supported annotations will likely be the standard, predefined annotations from the open-source MCP spec. These include: - title: A human-readable title for the tool, useful for UI display. - readOnlyHint: If true, indicates the tool does not modify its environment. - destructiveHint: If true, the tool may perform destructive updates (only meaningful when readOnlyHint is false). - idempotentHint: If true, calling the tool repeatedly with the same arguments has no additional effect (only meaningful when readOnlyHint is false). - openWorldHint: If true, the tool may interact with an "open world" of external entities..google.protobuf.Struct annotations = 7;- Specified by:
getAnnotationsOrBuilderin interfaceMcpToolOrBuilder
-