create_customer
Create a customer record by providing a full name and phone number, enabling legacy customer REST API management through MCP.
Instructions
Create a 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>",
"phone": "<phone>"
},
"name": "create_customer"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Full name of the customer | |
| phone | Yes | Phone number of the customer |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | MongoDB ObjectId of the customer | |
| isError | No | Indicates if an error occurred | |
| message | No | Confirmation message | |
| customer | No | The found customer | |
| customers | No | List of customers |