post_customer
Create new customer leads in the Hub by registering them from external sources. This tool validates Brazilian CPF/CNPJ IDs and manages customer records through structured operations.
Instructions
Cria um novo cliente (lead) no Hub. Use esta ferramenta para registrar leads encontrados em outras fontes.
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": {
"codigo": "<codigo>",
"tipo": "<tipo>",
"cnpjCpf": "<cnpjCpf>",
"nomeFantasia": "<nomeFantasia>",
"status": "<status>"
},
"name": "post_customer"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| codigo | Yes | ||
| tipo | Yes | Tipo de pessoa. 1=Jurídica, 2=Física, 3=Exportação | |
| cnpjCpf | Yes | Somente dígitos: CPF (11 dígitos) ou CNPJ (14 dígitos) | |
| nomeFantasia | Yes | ||
| status | Yes |