parse_boleto
Extract bank code, amount in BRL, and due date from a boleto's digit line. Validates the 47-digit line and returns error on invalid input.
Instructions
Extrai código do banco, valor (R$) e data de vencimento da linha digitável de um boleto. Falha com mensagem clara se a linha for inválida.
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": {
"linha_digitavel": "<linha_digitavel>"
},
"name": "parse_boleto"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| linha_digitavel | Yes | Linha digitável com 47 dígitos, com ou sem pontuação |