id_checkdigit
Check digits for the identifiers a model guesses: 15 published schemes (ISBN-10/13, EAN-8/13, UPC-A, GTIN-14, ISSN, ISIN, CUSIP, SEDOL, ABA, LEI, ORCID, CAS, Luhn-family via ISIN, Verhoeff, Damm), each cited to its spec. check: auto-detect returns EVERY format that matches with its own verdict — a valid Bookland number is both ean13 and isbn13 and the ambiguity is reported, never guessed; a wrong check digit comes back with the expected character. generate: payload in, valid identifier out. repair: every single-character edit that makes the value valid. scan: finds and verifies identifiers in free text. Generic schemes (verhoeff, damm) need an explicit scheme= — they would pass any digit string 10 % of the time. Free.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "id_checkdigit"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | ||
| text | No | scan mode: free text up to 20 000 chars | |
| value | No | identifier (check/repair) or payload (generate) | |
| scheme | No | closed list: isbn10 isbn13 ean8 ean13 upca gtin14 issn isin cusip sedol aba lei orcid cas verhoeff damm; omit to auto-detect |