Get One Act
get_actFull detail of one act by its id (Διαύγεια ΑΔΑ, ΚΗΜΔΗΣ 'kimdis:<ΑΔΑΜ>', or TED 'ted:'): canonical fields, resolved buyer/supplier entities, CPV codes with labels, and its cross-source lifecycle chain if linked. On ΚΗΜΔΗΣ contracts, commitment_ada carries the Διαύγεια ΑΔΑ of the budget-commitment decision the source declares (comma-separated when more than one). It is a pointer INTO Διαύγεια, not an act we necessarily hold — resolve it at diavgeia.gov.gr, not through this API — and it is deliberately NOT a chain edge: one annual commitment funds many unrelated contracts. On tenders and public-works awards/contracts, discount carries the contractor discount (official from the document, or calculated) — see its schema.
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": {
"ada": "<ada>"
},
"name": "get_act"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ada | Yes | act id — ΑΔΑ, 'kimdis:<ΑΔΑΜ>' or 'ted:<number>' |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| act | Yes | ||
| cpvs | Yes | CPV classifications with their official Greek labels | |
| buyer | Yes | ||
| chain | Yes | ||
| discount | No | Contractor discount, only on tenders and on public-works (CPV 45) awards/contracts. The key is ABSENT when there is nothing to show (not null). basis "document" = the percentage exactly as the award decision states it (measure average_discount | discount_on_budget, with document_ref and document_url to the source), Pro plan and above. basis "calculated" = Diavgis' own 1 - award_net / tender_budget_net, single winner only, shown only when the award is 30-100% of the budget and, where the document states a figure, within 1 point of it. official_locked: true + upgrade_url = the document states an official figure this plan does not include. A calculated value is not the official one. | |
| supplier | Yes |