conflicts_get
Fetch a sync conflict by its global ID to inspect local and remote content snapshots, the unified diff, change counts, and on-disk path before resolving it.
Instructions
Fetch one sync conflict by its global ID (gid), for the Conflict Manager. Returns the full ConflictRecord including both content snapshots (local_content, the canonical file as it is on THIS machine, and remote_content, the version that arrived from the other machine), the unified line diff, addition/deletion counts, and the conflict copy's on-disk path. If there is no unresolved conflict for the gid it returns the most recent resolved one; returns an error if no conflict exists at all. gid is '<local_id>@<machine_id>' as reported by conflicts_list. Read-only; no side effects, auth, or rate limits. After reviewing the diff, resolve with conflicts_resolve.
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": {
"gid": "<gid>"
},
"name": "conflicts_get"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| gid | Yes | Global ID of the conflict, e.g. '104@4f9e1a8b3c7d2e0f' (as returned by conflicts_list). |