Parse boleto
parse_boletoDecode a boleto linha digitável with 47 or 48 digits to extract bank, amount, due date and check-digit results, including the 2025 due-factor reset handling.
Instructions
Decode a boleto linha digitável: 47 digits (bank) or 48 digits starting with 8 (utilities/taxes). Returns bank, amount, due date (handles the 2025 due-factor reset) and check-digit results.
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": {
"line": "<line>"
},
"name": "parse_boleto"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| line | Yes | Digits; spaces and dots are ignored | |
| reference_date | No | Date used to pick between the two due-date cycles (default: today) |