generate_ocr
Generate a Swedish OCR reference (check digit, optional length digit) from a base number such as an invoice number.
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": {
"base": "<base>"
},
"name": "generate_ocr"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| base | Yes | digits | |
| length_digit | No | "true" to add length digit |