Gap Request
gap_requestLog unresolved decisions or gaps that halt an Anki card pipeline and return a gap_id, queuing the issue for review instead of creating ad-hoc rules.
Instructions
Log a gap or unresolved decision point that halts the pipeline. Per the Gap Request Protocol in anki-card-generator: when the pipeline encounters a decision without a governing rule, it MUST halt and log here instead of inventing ad-hoc rules. deck_dir: deck folder path. batch_id: e.g. 'B07'. gap_description: clear description of the decision needed. context: relevant snippet or options. Returns a gap_id and logs it to the Manifesto suggestion queue.
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>",
"gap_description": "<gap_description>"
},
"name": "gap_request"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| context | No | ||
| batch_id | Yes | ||
| deck_dir | Yes | ||
| gap_description | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||