validate_drafts
Validates every draft in a nanopubs/drafts directory in one pass, returning per-draft results and totals so you can confirm a chain is publishable before announcing.
Instructions
Check every draft in a nanopubs/drafts/ directory at once.
The whole-chain pre-flight: run it before starting Phase 5b, and again
before announcing. Returns per-draft results plus totals, with
publishable true only when no draft has an error.
Note what it cannot see: values a draft puts in prose or a markdown table
rather than behind a <!-- field: … --> marker are reported as
coverage warnings, not as missing. The CiTO step's citation list is the
known case.
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": {
"directory": "<directory>"
},
"name": "validate_drafts"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| live | No | ||
| directory | Yes |