search_procurements_detailed
Search Swiss public tenders and fetch full details for the top matches in a single call, replacing separate detail lookups.
Instructions
Answer a question needing both the hit list and each hit's detail in one step, e.g. "which school-building tenders ran in ZH and what BKP codes do they carry?". Prefer this over search_procurements followed by N detail calls.
Search publications and return the FULL record for the top matches at once.
Aggregated entry point for the common "find tenders and show me their details"
question: it runs the search and then fetches get_procurement_details for the
first top_n hits in parallel, so a typical query is answered in a single tool
call instead of a search-then-N-details chain. Each result carries the CPV and
Swiss construction codes (BKP, NPK), deadlines and procurement office.
Prefer search_procurements when you only need the summaries or want to
paginate; use this when you want the leading hits fully expanded immediately.
Args:
top_n: How many of the top hits to expand to full detail (1-5).
query, canton, canton_match, cpv_codes, process_type, pub_type,
published_from, published_until, language: identical to
search_procurements — including the canton_match semantics, which
default to matching the procuring body.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| args | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| note | No | ||
| count | Yes | Number of full detail records returned (<= top_n). | |
| source | Yes | ||
| results | Yes | ||
| match_type | No | exact when results were returned, none when empty. | none |
| provenance | Yes | ||
| retrieved_at | Yes | ||
| total_matched | No | Total search hits before the top_n detail cutoff. |