resolve_sync_conflict
Resolve a replication conflict. prefer_remote (needs sender_peer_url) applies the remote snapshot's differing declared fields as one atomic correction transaction, so they hold until corrected again, and returns fields_applied…
Instructions
Resolve a replication conflict. prefer_remote (needs sender_peer_url) applies the remote snapshot's differing declared fields as one atomic correction transaction, so they hold until corrected again, and returns fields_applied, fields_withheld (array fields that already hold a local correction, undeclared fields; capped, names never repeated in the message) and fields_withheld_count; ok:true with a non-empty fields_withheld means a partial apply. A remote entity_type that is protected, or a governance type not named in both the matching configured peer's entity_types and accept_governance_entity_types, is refused with ok false and nothing written. manual flags sync_conflict. prefer_remote and manual need the correct capability. prefer_local and last_write_wins keep local state; source_priority only explains that a corrected field is never displaced by priority.
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": {
"entity_id": "<entity_id>",
"strategy": "<strategy>"
},
"name": "resolve_sync_conflict"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| strategy | Yes | ||
| entity_id | Yes | ||
| sender_peer_url | No | Required for prefer_remote — remote Neotoma base URL (GET /entities/{entity_id}) | |
| guest_access_token | No | Optional query access_token for guest read on the remote instance |