# Interface McpToolDefinitionOrBuilder (0.9.0)

0.9.0 (latest) 0.7.0 0.4.0 0.3.0 0.1.0

    public interface McpToolDefinitionOrBuilder extends MessageOrBuilder

## Implements

[MessageOrBuilder](https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.MessageOrBuilder.html)

## Methods

### getDescription()

    public abstract String getDescription()

Output only. The description of the MCP tool. This can be overridden
by `description_override` in `McpToolOverride`.

`string description = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/8/docs/api/java/lang/String.html` | The description. |

### getDescriptionBytes()

    public abstract ByteString getDescriptionBytes()

Output only. The description of the MCP tool. This can be overridden
by `description_override` in `McpToolOverride`.

`string description = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.ByteString.html` | The bytes for description. |

### getInputSchema()

    public abstract Schema getInputSchema()

Output only. The schema of the input arguments of the MCP tool.

`
.google.cloud.ces.v1beta.Schema input_schema = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-ces/latest/com.google.cloud.ces.v1beta.Schema` | The inputSchema. |

### getInputSchemaOrBuilder()

    public abstract SchemaOrBuilder getInputSchemaOrBuilder()

Output only. The schema of the input arguments of the MCP tool.

`
.google.cloud.ces.v1beta.Schema input_schema = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-ces/latest/com.google.cloud.ces.v1beta.SchemaOrBuilder` |   |

### getOutputSchema()

    public abstract Schema getOutputSchema()

Output only. The schema of the output arguments of the MCP tool.

`
.google.cloud.ces.v1beta.Schema output_schema = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-ces/latest/com.google.cloud.ces.v1beta.Schema` | The outputSchema. |

### getOutputSchemaOrBuilder()

    public abstract SchemaOrBuilder getOutputSchemaOrBuilder()

Output only. The schema of the output arguments of the MCP tool.

`
.google.cloud.ces.v1beta.Schema output_schema = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-ces/latest/com.google.cloud.ces.v1beta.SchemaOrBuilder` |   |

### hasInputSchema()

    public abstract boolean hasInputSchema()

Output only. The schema of the input arguments of the MCP tool.

`
.google.cloud.ces.v1beta.Schema input_schema = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | Whether the inputSchema field is set. |

### hasOutputSchema()

    public abstract boolean hasOutputSchema()

Output only. The schema of the output arguments of the MCP tool.

`
.google.cloud.ces.v1beta.Schema output_schema = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | Whether the outputSchema field is set. |