1.1.0 (latest) 1.0.0

    [BindServiceMethod(typeof(ToolService), "BindService")]
    public abstract class ToolService.ToolServiceBase

Reference documentation and code samples for the Gemini Enterprise for Customer Experience v1 API class ToolService.ToolServiceBase.

Base class for server-side implementations of ToolService

## Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) \> ToolService.ToolServiceBase

## Inherited Members

[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) [object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) [object.MemberwiseClone()](https://learn.microsoft.com/dotnet/api/system.object.memberwiseclone) [object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)

## Namespace

[Google.Cloud.Ces.V1](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Ces.V1/latest/Google.Cloud.Ces.V1.md.txt)

## Assembly

Google.Cloud.Ces.V1.dll

## Methods

### ExecuteTool(ExecuteToolRequest, ServerCallContext)

    public virtual Task<ExecuteToolResponse> ExecuteTool(ExecuteToolRequest request, ServerCallContext context)

Executes the given tool with the given arguments.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `ExecuteToolRequest` The request received from the client. |
| `context` | `ServerCallContext` The context of the server-side call handler being invoked. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `TaskExecuteToolResponse` | The response to send back to the client (wrapped by a task). |

### RetrieveToolSchema(RetrieveToolSchemaRequest, ServerCallContext)

    public virtual Task<RetrieveToolSchemaResponse> RetrieveToolSchema(RetrieveToolSchemaRequest request, ServerCallContext context)

Retrieve the schema of the given tool. The schema is computed on the fly
for the given instance of the tool.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `RetrieveToolSchemaRequest` The request received from the client. |
| `context` | `ServerCallContext` The context of the server-side call handler being invoked. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `TaskRetrieveToolSchemaResponse` | The response to send back to the client (wrapped by a task). |

### RetrieveTools(RetrieveToolsRequest, ServerCallContext)

    public virtual Task<RetrieveToolsResponse> RetrieveTools(RetrieveToolsRequest request, ServerCallContext context)

Retrieve the list of tools included in the specified toolset.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `RetrieveToolsRequest` The request received from the client. |
| `context` | `ServerCallContext` The context of the server-side call handler being invoked. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `TaskRetrieveToolsResponse` | The response to send back to the client (wrapped by a task). |