Save Citation Override
save_citation_overridePersist a correction of a citation value. The correction is keyed on the canonical fact_id (a stable hash of CIK + accession + concept + period) so it applies to every report that references that same fact — including agent-regenerated reports. Re-saving the same fact_id replaces the prior correction in place (no duplicate row).
The fact_id is VERIFIED against live SEC data (scoped to ticker) before the correction is stored — a fact_id that doesn't resolve to a real fact is rejected with INVALID_ARGUMENT (its resolution_error_code says why the lookup failed) and nothing is persisted. You therefore must supply the ticker the fact belongs to.
Use this when the user notices an inaccuracy in an AI-generated report and wants the fix to persist. Provide notes for the rationale (≤500 chars) and source_report_id for provenance. Flat 10,000-override anti-abuse cap per account (deleting frees a slot; never a tier limit).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| notes | No | Optional free-form rationale, ≤500 chars. | |
| ticker | Yes | Ticker the fact belongs to (REQUIRED) — scopes fact_id resolution against live SEC data and denormalises the row for fast filtering (the workspace UI's 'my corrections on AAPL' view). | |
| fact_id | Yes | Canonical fact identifier — usually returned in a citation's `fact_ids` array by get_report or any compute tool. Stable across report regenerations. Verified against live SEC data (scoped to `ticker`) before persistence — a fabricated or unresolvable fact_id is rejected. | |
| corrected_value | Yes | User-corrected value, stringified. The frontend interprets it based on the fact's known datatype (number, string, ISO date). | |
| source_report_id | No | Optional report id the user was viewing when they applied the correction (provenance). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| _meta | Yes | Provenance envelope — data lineage for every MCP response | |
| created | Yes | ||
| capacity | Yes | ||
| override | Yes |