list-customers
List a company's invoice customers, with totalCount, page and perPage for paging. Use a returned id as customerId in update-invoice-draft; if the customer does not exist yet, add it with create-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": {
"companyId": "<companyId>"
},
"name": "list-customers"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | Page number, starting at 1 (default 1). | |
| search | No | Case-insensitive partial match on customer name, email or phone. | |
| perPage | No | Customers per page (default 100). | |
| companyId | Yes | Company ID |