> ## Documentation Index
> Fetch the complete documentation index at: https://docs.baimoqilin.com/llms.txt
> Use this file to discover all available pages before exploring further.

# sessions remove

> 通过 id 或 token 删除已保存会话。

## 用途

删除你不再需要的会话。

## 语法

```bash theme={null}
/mineclawd sessions remove <session>
```

## 示例

```bash theme={null}
/mineclawd sessions remove 1a2b
/mineclawd sessions remove 1a2b-my-project-title
```

## 行为和限制

* 删除是永久操作。
* 如果删除的是活动会话，MineClawd 会把活动指针切到剩余会话中最近更新的一个。
* 如果没有剩余会话，就不会有活动会话。

## 常见失败

* `session not found`：请用 `/mineclawd sessions list` 检查 id 或 token。
* `cannot remove sessions while a request is running`：请等待当前请求完成。
