Pipeline Phase Advance
pipeline_phase_advanceAdvance an Anki deck batch through the pipeline state machine by verifying the required gate-check PASS receipt and permitted transition.
Instructions
Advance a batch through the pipeline state machine. deck_dir: absolute path to the deck folder. batch_id: e.g. 'B07'. Leaving a phase requires the receipt recorded by a PASS of pipeline_gate_check(phase=). receipt_hash is optional; if given it must equal that recorded receipt. Allowed transitions: started→drafted→curated→enriched→illustrated→validated→exported.
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": {
"deck_dir": "<deck_dir>",
"batch_id": "<batch_id>"
},
"name": "pipeline_phase_advance"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| batch_id | Yes | ||
| deck_dir | Yes | ||
| receipt_hash | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||