Decide an entity merge
decide_merge_proposalDecide an entity-merge proposal (from get_merge_doubts, a
duda_de_fusion attached to another tool's result, or a 'same_as'
relation).
"fusionar" merges the two entities: the surviving one inherits the
other's relations, facts, episodes and aliases. Merges are reversible.
Fails if the proposal is no longer pending.
Args:
candidate_id: The proposal's ``id``.
decision: "fusionar" (same entity), "distintas" (different; never
proposed again, so not for "I can't tell") or "posponer"
(served again in 3 days; after 3 postponements it stops being
served and both entities stay separate).
conservar: With "fusionar", which entity survives: "a" (entity_a)
or "b" (entity_b). Default: the one with more relations.
por_usuario: False (default) if the agent decided on its own; True
if this relays the user's decision. Recorded as who decided.
razon: One sentence on why. Stored with the decision for audit.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| razon | No | ||
| decision | Yes | ||
| conservar | No | ||
| por_usuario | No | ||
| candidate_id | Yes |