Add a customer
create_customerUse this when someone asks to add a new customer to a business, such as a client they are about to invoice. Returns the customer's id, name, business and language; the email, phone, tax id and address given are saved but never returned. Not for changing an existing customer.
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": {
"name": "<name>",
"requestId": "<requestId>"
},
"name": "create_customer"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | The customer's full or company name. | |
| No | Email address their invoices go to. | ||
| phone | No | Mobile number, with the country code when known. | |
| taxId | No | Tax or VAT number printed on their invoices. | |
| address | No | Billing address. | |
| language | No | Language for their invoices and messages, as a code such as en, it or pt-BR; the business language when absent. | |
| requestId | Yes | A unique id for this customer, such as a UUID. A repeated call with the same requestId returns the first customer and adds no second one. | |
| businessId | No | Business id: 24 lowercase hexadecimal characters; may be absent when the account has one business. | |
| legalEntity | No | What kind of customer this is; a new customer is stored as a company when absent. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| status | Yes | ||
| customer | Yes |