<a id="flink-sql-drop-tool"></a>

# DROP TOOL Statement in Confluent Cloud for Apache Flink

Remove a tool resource from the environment.

## Syntax

```sql
DROP TOOL [IF EXISTS] [[catalog.]database.]tool_name
```

## Description

Remove a tool resource from the current environment. The tool resource
is permanently deleted and can’t be recovered.

## Parameters

- **IF EXISTS** (Optional): Do not throw an error if the tool does not exist
- **catalog.database** (STRING, Optional): Optional catalog and database name
- **tool_name** (STRING): Name of the tool to drop

## Examples

Drop a tool:

```sql
DROP TOOL convert_to_celsius_tool;
```

Drop a tool with IF EXISTS:

```sql
DROP TOOL IF EXISTS old_tool;
```

Drop a tool from a specific database:

```sql
DROP TOOL my_database.weather_tool;
```

## Related content

- [Call Tools in AI Workflows](../../../ai/streaming-agents/call-tools.md#streaming-agents-call-tools)
- [CREATE TOOL Statement](create-tool.md#flink-sql-create-tool)
- [ALTER TOOL Statement](alter-tool.md#flink-sql-alter-tool)
- [SHOW TOOLS Statement](show.md#flink-sql-show-tools)

#### NOTE
This website includes content developed at the [Apache Software Foundation](https://www.apache.org/)
under the terms of the [Apache License v2](https://www.apache.org/licenses/LICENSE-2.0.html).
