> **Building with AI coding agents?** Install the authstack plugin with one command. This equips your agent with accurate Scalekit implementation patterns.
>
> **Recommended** (the `-y` flags skip prompts, so the command runs without an interactive terminal):
> ```bash
> npx -y @scalekit-inc/cli setup -y
> ```
>
> Global:
> ```bash
> npm install -g @scalekit-inc/cli
> scalekit setup -y
> ```
>
> Supports Claude Code, Cursor, GitHub Copilot, Codex + skills for other Agent Skills-compatible agents in `~/.agents/skills`.
> Skills: integrate-agentkit, implement-saaskit, add-mcp-oauth, implement-sso, implement-scim.
> [Full setup guide](https://docs.scalekit.com/dev-kit/build-with-ai/)

---

# Delete OpenAPI tool

`DELETE /api/v1/custom-tools/{tool_identifier}`

Deletes one tool of a connector created from an OpenAPI spec, by its name or ID. To keep it from coming back, remove its operation from the spec.

**Path parameters**

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `tool_identifier` | string | Yes | The tool's name or ID. |

**Errors**

- `400`: Invalid request - tool_identifier is longer than 2048 characters or has a control character
- `404`: Not Found - no deletable custom tool has this name or ID
- `409`: Conflict - `RESOURCE_ALREADY_EXISTS` when a tool collection run of the connector is queued or processing, or `TOOL_NAME_AMBIGUOUS` when tools of more than one connector have this name

**Request**

```bash
curl -sS -X DELETE \
  "$SCALEKIT_ENVIRONMENT_URL/api/v1/custom-tools/a-exampleapi_deletepet" \
  -H "Authorization: Bearer $TOKEN"
```

**Python SDK:** `scalekit_client.actions.delete_custom_tool`

Deletes one tool of a connector created from an OpenAPI spec. Pass the tool name or ID.

```python
scalekit_client.actions.delete_custom_tool(
    tool_identifier: str,
) -> None
```

Example:

```python
result = scalekit_client.actions.delete_custom_tool(
    tool_identifier="a-exampleapi_deletepet",
)
```

| Parameter | Type | Required | Description |
| --- | --- | --- | --- |
| `tool_identifier` | `str` | Yes | The tool's name or ID. |

Returns `None`: None on success.

**Node.js SDK:** `scalekit.actions.deleteCustomTool`

Deletes one tool of a connector created from an OpenAPI spec. Pass the tool name or ID.

```ts
scalekit.actions.deleteCustomTool(
  params: {
    toolIdentifier: string;
  },
): Promise<void>
```

Example:

```ts
const result = await scalekit.actions.deleteCustomTool({
  toolIdentifier: "a-exampleapi_deletepet",
});
```

| Parameter | Type | Required | Description |
| --- | --- | --- | --- |
| `toolIdentifier` | `string` | Yes | The tool's name or ID. |

Returns `Promise<void>`: Resolves once the tool is deleted.


Part of [Tools](https://docs.scalekit.com/agentkit/reference/tools/) in the [AgentKit API reference](https://docs.scalekit.com/agentkit/reference/). Authentication: https://docs.scalekit.com/agentkit/reference/authentication.md. Errors and rate limits: https://docs.scalekit.com/agentkit/reference/errors.md. Pagination: https://docs.scalekit.com/agentkit/reference/pagination.md


---

## More Scalekit documentation

| Resource | What it contains | When to use it |
|----------|-----------------|----------------|
| [/llms.txt](/llms.txt) | Structured index with routing hints per product area | Start here — find which documentation set covers your topic before loading full content |
| [/llms-full.txt](/llms-full.txt) | Complete documentation for all Scalekit products in one file | Use when you need exhaustive context across multiple products or when the topic spans several areas |
| [sitemap-0.xml](https://docs.scalekit.com/sitemap-0.xml) | Full URL list of every documentation page | Use to discover specific page URLs you can fetch for targeted, page-level answers |
