---
title: "Reset persistent tool state"
method: DELETE
path: "/tools/{toolId}/state"
tags: ["Tools"]
---

# Reset persistent tool state

`DELETE /tools/{toolId}/state`

## Request

- Base URL: `https://api.superglue.cloud/v1`
- URL: `https://api.superglue.cloud/v1/tools/{toolId}/state`
- Auth: HTTP bearer

Deletes the tool's current state keys. A reset wins over in-flight runs; their updates to pre-reset keys are discarded as conflicts, and only keys they newly add are kept.

## Path parameters

- `toolId` string, required

## Response `200`

State reset

- object
  - `toolId` string, required
  - `deletedKeys` integer, required

## Other responses

- `403`: Not authorized to modify this tool
- `404`: Tool not found

---

[API](https://skmtc.dev/superglue/apis/superglue-api.md) - [All operations](https://skmtc.dev/superglue/apis/superglue-api/llms.txt) - [OpenAPI document](https://skmtc.dev/superglue/apis/superglue-api/revisions/2d412a94bf09?raw)
