Metis — Audit Background Provenance
audit_background_provenanceRecords DOIs for indexed documents across knowledge layers by matching local references first and optionally querying Crossref, so each layer can verify its own provenance.
Instructions
Where did the documents in the knowledge layers actually come from?
Sweeps `pdf_index_state` and records a DOI for every indexed document it can
identify, so a layer can state its own provenance. Matches against the local
reference library first — that is free and covers most of the corpus — and
only calls Crossref when `resolve_online` is set.
This is the "verify at ingest, trust at read" half of the verification layer.
A corpus of known-real documents makes answer-time checking a containment
problem rather than a truth problem, and the cost is paid once per document
instead of once per claim.
Args:
layer: Restrict to one layer slug (e.g. 'epi-methods'); omit for all.
resolve_online: Also query Crossref by title for documents the local
library cannot identify. Metadata only; costs one request each.
limit: Maximum documents to process in one pass (default 400).
Returns:
Per-layer provenance counts and what changed in this pass.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "audit_background_provenance"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| layer | No | ||
| limit | No | ||
| resolve_online | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |