export_report
Write a report of specific tender notices to a file in Markdown or CSV. Preview first, then confirm to save.
Instructions
Write a report of specific tender notices to a file on the server, as markdown or CSV.
This tool never writes on the first call, by design. Call it with tender_refs and it
returns a preview of the exact document plus a confirm_handle, having written nothing. To
actually write, call it again with identical arguments plus that handle — or answer the
confirmation prompt, on clients that show one. Tell the user what the preview contains and let
them decide; do not confirm on their behalf because the flow looks unfinished.
A handle lasts five minutes, works once, and is tied to the exact content previewed. If the notices or the format change, the old handle stops matching and a fresh preview is needed.
Requires the export scope. Reports contain notice summaries and links only — never buyer
contact details, whatever scopes the caller holds.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| format | No | 'markdown' for a readable brief, or 'csv' for a spreadsheet. | markdown |
| tender_refs | Yes | Exact reference numbers to include, as returned by search_tenders — for example ['MX-2026-12345']. Up to 50. References with no matching open notice are listed in the report as not found rather than silently dropped. | |
| confirm_handle | No | The handle from this tool's own preview response. Omit it to preview. Only send one the user has approved: supplying it is what causes the write. Never invent or guess a value. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||