clients
Manage KeyCRM buyers: list, search, create, update and delete clients, sync phone and email profiles, and view order history or pipeline leads.
Instructions
Buyers / clients (покупці).
IMPORTANT: POST /clients ignores phone and email. Contacts live in separate profiles: POST /clients/{id}/profiles {"client_id", "field": "phone"|"email", "value"}. create() accepts phone/email and writes the profiles right after the client, update() does the same when phone/email are passed.
actions: list - paginated clients with meta get - full client (phones, emails, profile list, shipping addresses) create - data{full_name, note, manager_id, ...} plus optional phone/email update - data{...} plus optional phone/email delete - DELETE /clients/{id} search - by name/phone/email set_profile - client_id + field ("phone"/"email"/custom) + value orders - order history of the client leads - pipeline cards of the client
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "clients"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | No | ||
| page | No | ||
| No | |||
| field | No | ||
| limit | No | ||
| phone | No | ||
| value | No | ||
| action | No | list | |
| search | No | ||
| client_id | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |