Fact-check a whole document
review_documentFact-check every material claim in an uploaded document, start a durable full review, and return a job_id to track coverage. Use it to audit documents or verify all figures against cited sources.
Instructions
Fact-check every material claim in an uploaded document and report coverage; starts a job and returns a job_id. Fits requests such as "audit this document" or "check every figure on this slide". Input: the existing asset_id(s), a prompt and a stable thread_id. The server parses the stored source itself, so no separate extraction step is needed. Unlike separate single-claim checks, it covers every claim and saves progress. Starts a durable full review and immediately returns a job_id; job status comes from get_document_review_job and saved result pages from get_document_review. Repeating the same input reuses its job without a new charge. A failed or credit-exhausted review resumes on the same thread and exact inputs with retry_failed: true and the returned retry_idempotency_key (or the original key); completed claims and the failed job receipt are preserved. Full coverage is reported only when coverage_complete is true.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"prompt": "<prompt>",
"asset_ids": "<asset_ids>",
"thread_id": "<thread_id>"
},
"name": "review_document"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| prompt | Yes | What to verify in the uploaded document. | |
| filters | No | ||
| asset_ids | Yes | ||
| thread_id | Yes | Stable ID for this review. Reuse the same value and exact inputs to resume. | |
| source_urls | No | Official HTTPS reports supplied by the user or found with search_sources, including PDFs, that each claim must be checked against. | |
| retry_failed | No | Explicitly resume a diagnosed failed review on the same thread and inputs. Preserve the original idempotency key, or use the returned retry_idempotency_key. Completed claims and extraction responses are reused; the failed job receipt is retained. | |
| review_scope | No | Whole-document scope. This tool always requests full coverage; keep this value in resume_input. | |
| include_stance | No | Analyze source stance; adds 1 credit per claim. | |
| idempotency_key | No | Omit on first start. For retry_failed: true, reuse the original key or the returned retry_idempotency_key with exactly the same inputs. | |
| include_verdict | No | Generate a verdict; adds 1 credit per claim. | |
| max_account_credits | No | Optional cap on new account-credit charges and outstanding holds for this execution, including a retry execution. Completed results replay without charge. Immutable for the same job/idempotency key; changing or omitting an existing cap conflicts. Does not cap provider cost or calls. Omission requests no execution cap. |