Reference documentation and code samples for the Google Cloud Ces V1 Client class McpToolDefinition.
Container for a tool's core definition elements that are snapshot.
Schemas in the snapshot are used as-is and cannot be overridden.
Generated from protobuf message google.cloud.ces.v1.McpToolDefinition
Namespace
Google \ Cloud \ Ces \ V1Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ description |
string
Output only. The description of the MCP tool. This can be overridden by |
↳ input_schema |
Schema
Output only. The schema of the input arguments of the MCP tool. |
↳ output_schema |
Schema
Output only. The schema of the output arguments of the MCP tool. |
getDescription
Output only. The description of the MCP tool. This can be overridden
by description_override in McpToolOverride.
| Returns | |
|---|---|
| Type | Description |
string |
|
setDescription
Output only. The description of the MCP tool. This can be overridden
by description_override in McpToolOverride.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getInputSchema
Output only. The schema of the input arguments of the MCP tool.
| Returns | |
|---|---|
| Type | Description |
Schema|null |
|
hasInputSchema
clearInputSchema
setInputSchema
Output only. The schema of the input arguments of the MCP tool.
| Parameter | |
|---|---|
| Name | Description |
var |
Schema
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getOutputSchema
Output only. The schema of the output arguments of the MCP tool.
| Returns | |
|---|---|
| Type | Description |
Schema|null |
|
hasOutputSchema
clearOutputSchema
setOutputSchema
Output only. The schema of the output arguments of the MCP tool.
| Parameter | |
|---|---|
| Name | Description |
var |
Schema
|
| Returns | |
|---|---|
| Type | Description |
$this |
|