Merge tenders
merge_tendersMerge duplicate tenders into one leading record. Nothing is deleted: each duplicate keeps its row, its source, its URL and its own deadline, and only gains a pointer to the leader — that is what makes this reversible (unmerge_tender) and what keeps the differing deadline visible. The leader takes the deadline from the HIGHEST-RANKING source (authority > manual > mirror > aggregator), never simply the newest entry: an aggregator's "00:00" is a placeholder, not a time, and that exact blur nearly caused a missed deadline once. Where two records carry a human-set status (anything other than discovered/analyzed), the later one wins. Merged records disappear from list_tenders unless include_merged is set.
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": {
"leader_tender_id": "<leader_tender_id>",
"duplicate_tender_ids": "<duplicate_tender_ids>"
},
"name": "merge_tenders"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| reason | No | Why these belong together — the proposal's evidence line. Kept on the record. | |
| merge_key | No | The group key from find_duplicate_tenders. | |
| apply_status | No | Move the prevailing human status onto the leader. Default true. | |
| apply_deadline | No | Move the best-ranked deadline onto the leader. Default true. | |
| leader_tender_id | Yes | ||
| duplicate_tender_ids | Yes |