leads
Manage KeyCRM pipeline cards: list, retrieve, create, update, move between statuses, view kanban boards, add products, and convert cards into orders.
Instructions
Pipeline cards (лиды / сделки / заявки).
actions: list - cards with pagination; filters go through the official API ({"status_id": 1, "pipeline_id": 1, "created_between": ["...","..."]}) get - full card (contact, source, products, payments) create - required: status_id, communicate_at, currency_code optional: title, pipeline_id, source_id, manager_id, contact{...} update - PUT /leads/{id} with a partial body move - set status_id (moves between pipelines too) pipelines - list of pipelines with their statuses desk - kanban board: statuses grouped with cards complete - convert card into an order (PUT /leads/{id}/order) add_product / copy remove - BLOCKED on purpose: the batch endpoint removes whole status columns when ids do not match exactly. Delete cards in the UI.
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": "leads"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ids | No | ||
| data | No | ||
| page | No | ||
| limit | No | ||
| action | No | list | |
| filters | No | ||
| include | No | ||
| lead_id | No | ||
| status_id | No | ||
| pipeline_id | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |