Validate Crossrefs
validate_crossrefsChecks cross-references in field text and flags IDs that do not resolve, helping catch broken links before flashcards are compiled.
Instructions
Check cross-references in any field text. active_ids and current_batch_ids are comma-separated ID strings. XREF.BROKEN is emitted for IDs that do not resolve.
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": {
"text": "<text>"
},
"name": "validate_crossrefs"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| row | No | ||
| text | Yes | ||
| field | No | ||
| active_ids | No | ||
| current_batch_ids | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||