grade_pdf
Convert handwritten answer PDFs to markdown files with confidence tiers for automated grading.
Instructions
OCR a single hand-written answer PDF into answers/converted/.md with a confidence tier.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Answer PDF path. Absolute, or relative to project_root (typically answers/<stem>.pdf). | |
| engine | No | Override the OCR engine. When omitted, falls back to .course-meta OCR_ENGINE, then to qwen3-vl. | |
| project_root | No | Absolute path to the course project root. Defaults to the server's CWD when omitted; set this explicitly if the user has cd'd between courses within the same Codex session. |