format_document
Formats Brazilian CPF, CNPJ, CEP, and phone numbers, automatically detecting the document type by digit count when no type is specified.
Instructions
Formata um CPF, CNPJ, CEP ou telefone brasileiro. Se o tipo não for informado, detecta pelo número de dígitos.
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": {
"value": "<value>"
},
"name": "format_document"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | No | Tipo do documento (opcional). | |
| value | Yes | Documento a formatar. |