> ## 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 repair

> セッション履歴内の破損した Vertex function-call ターンを修復します。

## 目的

Vertex の function-call ターンが壊れたときにセッションを修復します。

## 構文

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

## 使う場面

Vertex バックエンドのセッションで tool-call 不一致エラーが出た後に使います。

## 例

```bash theme={null}
/mineclawd sessions repair
/mineclawd sessions repair 1a2b
```

## 動作と制限

* `<session>` なしでは、MineClawd はアクティブセッションを修復します。
* `<session>` ありでは、指定したセッションを修復します。
* 修復が不要な場合、MineClawd はその状態を報告し、変更は行いません。

## よくある失敗

* `session not found`: `/mineclawd sessions list` で参照を確認してください。
* `cannot repair sessions while a request is running`: 完了まで待ってください。
