3.2.0 (latest) 3.1.0 3.0.0 2.25.0 2.24.0 2.23.0 2.22.0 2.21.0 2.20.0 2.19.0 2.18.0 2.17.0 2.16.0 2.15.0 2.14.0 2.13.0 2.12.0 2.11.0 2.10.0 2.9.0 2.8.0 2.7.0 2.6.0 2.5.0 2.4.0 2.3.0 2.2.0 2.1.0 2.0.0 1.13.0 1.12.0 1.11.0 1.10.0 1.9.0 1.8.0 1.7.0 1.6.0 1.5.0 1.4.0 1.3.0 1.2.0 1.1.0 1.0.0

    [BindServiceMethod(typeof(Tools), "BindService")]
    public abstract class Tools.ToolsBase

Reference documentation and code samples for the Dialogflow v3 API class Tools.ToolsBase.

Base class for server-side implementations of Tools

## Inheritance

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

## 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.Dialogflow.Cx.V3](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.Cx.V3/latest/Google.Cloud.Dialogflow.Cx.V3.md.txt)

## Assembly

Google.Cloud.Dialogflow.Cx.V3.dll

## Methods

### CreateTool(CreateToolRequest, ServerCallContext)

    public virtual Task<Tool> CreateTool(CreateToolRequest request, ServerCallContext context)

Creates a \[Tool\]\[google.cloud.dialogflow.cx.v3.Tool\] in the specified
agent.

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

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

### CreateToolVersion(CreateToolVersionRequest, ServerCallContext)

    public virtual Task<ToolVersion> CreateToolVersion(CreateToolVersionRequest request, ServerCallContext context)

Creates a version for the specified
\[Tool\]\[google.cloud.dialogflow.cx.v3.Tool\].

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

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

### DeleteTool(DeleteToolRequest, ServerCallContext)

    public virtual Task<Empty> DeleteTool(DeleteToolRequest request, ServerCallContext context)

Deletes a specified \[Tool\]\[google.cloud.dialogflow.cx.v3.Tool\].

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

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

### DeleteToolVersion(DeleteToolVersionRequest, ServerCallContext)

    public virtual Task<Empty> DeleteToolVersion(DeleteToolVersionRequest request, ServerCallContext context)

Deletes the specified version of the
\[Tool\]\[google.cloud.dialogflow.cx.v3.Tool\].

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

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

### GetTool(GetToolRequest, ServerCallContext)

    public virtual Task<Tool> GetTool(GetToolRequest request, ServerCallContext context)

Retrieves the specified \[Tool\]\[google.cloud.dialogflow.cx.v3.Tool\].

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

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

### GetToolVersion(GetToolVersionRequest, ServerCallContext)

    public virtual Task<ToolVersion> GetToolVersion(GetToolVersionRequest request, ServerCallContext context)

Retrieves the specified version of the
\[Tool\]\[google.cloud.dialogflow.cx.v3.Tool\].

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

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

### ListToolVersions(ListToolVersionsRequest, ServerCallContext)

    public virtual Task<ListToolVersionsResponse> ListToolVersions(ListToolVersionsRequest request, ServerCallContext context)

List versions of the specified \[Tool\]\[google.cloud.dialogflow.cx.v3.Tool\].

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

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

### ListTools(ListToolsRequest, ServerCallContext)

    public virtual Task<ListToolsResponse> ListTools(ListToolsRequest request, ServerCallContext context)

Returns a list of \[Tools\]\[google.cloud.dialogflow.cx.v3.Tool\] in the
specified agent.

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

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

### RestoreToolVersion(RestoreToolVersionRequest, ServerCallContext)

    public virtual Task<RestoreToolVersionResponse> RestoreToolVersion(RestoreToolVersionRequest request, ServerCallContext context)

Retrieves the specified version of the Tool and stores it as the
current tool draft, returning the tool with resources updated.

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

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

### UpdateTool(UpdateToolRequest, ServerCallContext)

    public virtual Task<Tool> UpdateTool(UpdateToolRequest request, ServerCallContext context)

Update the specified \[Tool\]\[google.cloud.dialogflow.cx.v3.Tool\].

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

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