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

# sync_retract

> Retract a previously synced commit so watchers revert locally

## Overview

Retract a commit you had previously announced with [`sync_commit`](/mcp/sync-commit). Watchers on other machines see the retraction and revert locally. Use when a just-pushed commit turns out to be broken in a way the gate didn't catch.

## Parameters

| Parameter             | Type   | Required | Description                                     |
| --------------------- | ------ | -------- | ----------------------------------------------- |
| `sync_log_id`         | string | Yes      | Row id of the commit receipt to retract         |
| `retracted_by_log_id` | string | No       | The newer receipt that supersedes it (optional) |

## Example

```json theme={null}
{
  "tool": "sync_retract",
  "arguments": { "sync_log_id": "sl_7f3a" }
}
```
