delete_state
Delete and clear a specific stateful session entry from Redis for a project workspace. Use this tool to reset a stateful test flow back to a clean initial state (e.g. before re-running a multi-step registration or payment scenario) without waiting for the 15-minute Redis TTL to expire.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"projectSlug": "<projectSlug>",
"sessionKey": "<sessionKey>"
},
"name": "delete_state"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sessionKey | Yes | Exact session key to remove from Redis. | |
| projectSlug | Yes | Unique slug of the project workspace (obtain from list_projects). |