Validar linha digitável de boleto
validar_boletoValidates check digits in 47- or 48-digit Brazilian boleto and arrecadação/convênio digitable lines without checking bank payment status.
Instructions
Confere os dígitos verificadores da linha digitável: 47 dígitos (boleto bancário) ou 48 dígitos (arrecadação/convênio). Não consulta o banco, então não diz se o boleto está pago ou vencido.
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": {
"linhaDigitavel": "<linhaDigitavel>"
},
"name": "validar_boleto"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| linhaDigitavel | Yes | Linha digitável, com ou sem pontos e espaços |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tipo | Yes | ||
| banco | No | ||
| erros | Yes | ||
| moeda | No | ||
| valor | No | ||
| valido | Yes | ||
| codigoDeBarras | No | ||
| fatorVencimento | No |