Validate Batch
validate_batchRun every export-validator check over a QA CSV and Cloze CSV pair to return a PASS, INCOMPLETE, or FAIL verdict, catching structural, image, taxonomy, and cross-reference errors before notes are compiled.
Instructions
Full batch validation: runs every export-validator check over a complete QA CSV + Cloze CSV pair. Returns a ValidationReport with a verdict: PASS (content_hash = receipt), INCOMPLETE (some check could not run; see skipped; no receipt) or FAIL, plus read-only information_profiles (3-layer profile per row with note_type and row; excluded from receipt hash; length-only signals are advisory WARN). taxonomy_tags: space-separated registered tags. active_ids / current_batch_ids: comma-separated. catalog_filenames: comma-separated namespaced image filenames (needed to verify sources; without it, image-bearing rows are reported as skipped).
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": {
"batch_id": "<batch_id>",
"qa_csv": "<qa_csv>",
"cloze_csv": "<cloze_csv>"
},
"name": "validate_batch"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| qa_csv | Yes | ||
| batch_id | Yes | ||
| cloze_csv | Yes | ||
| active_ids | No | ||
| taxonomy_tags | No | ||
| max_notes_length | No | ||
| catalog_filenames | No | ||
| current_batch_ids | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||