Confirm Exam Paper Draft
paper_confirmMint the exam paper from a job parked at awaiting_confirmation (created via paper_create). Materialises the ExamPaper, questions, and mark schemes from the extraction draft, synchronously. Optionally override the detected identity (title/subject/board/year); omit to use what extraction detected. Idempotent — confirming an already-committed job returns its paper. Returns the exam_paper_id.
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": {
"job_id": "<job_id>"
},
"name": "paper_confirm"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| job_id | Yes | ID of the ingestion job to confirm. Must be parked at awaiting_confirmation (poll ingestion_get first). | |
| metadata | No | Optional identity overrides. Omit to mint the paper with the identity detected during extraction. `total_marks` is always derived from the question marks — never supplied here. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| status | Yes | Terminal status of the paper (complete). | |
| outcome | Yes | "created" on first confirm, "already committed" on re-confirm. | |
| view_with | Yes | The tool to inspect the paper with (paper_get). | |
| exam_paper_id | Yes |