Save Output Tool
save_output_toolPersist gathered report findings with source URLs to complete an in-flight run, enabling cited report compilation.
Instructions
Persist a gathered report output, completing the run that opened it.
The gatherer writes findings here after sweeping the sources. Each finding in payload should carry its own source URL so the compiler can cite it. Pass the run_id Metsuke handed you in the fire callback so this completes that exact in-flight run (one row per fire). Omit run_id for an ad-hoc direct save; Metsuke stamps a fresh run identity either way.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| run_id | No | The run to complete (from the fire callback); None = direct save | |
| status | No | One of "gathering", "ready", "compiled", "failed" (default: "ready") | ready |
| payload | Yes | List of findings. Each needs a non-empty summary and should carry its source_url; see Finding for the other allowed keys | |
| window_end | No | End of the reporting window (ISO date/datetime) | |
| report_name | Yes | The report definition this output belongs to | |
| window_start | No | Start of the reporting window (ISO date/datetime) | |
| gatherer_run_ref | No | Opaque reference to the gatherer run that produced this |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||