get_events
Retrieve event history for leads, contacts, or companies, including stage changes, creation, and deletion. Filter by entity type, event types, and date range.
Instructions
История событий: смена этапов, создание и удаление сделок и контактов. Принимает entity_type как leads/contacts/companies (автоматически конвертируется в формат API).
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": "get_events"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| entity_type | No | Тип сущности (leads, contacts, companies) | |
| event_types | No | Типы: lead_added, lead_status_changed, lead_deleted, contact_added, company_added и др. | |
| date_from | No | Начало периода (unix timestamp) | |
| date_to | No | Конец периода (unix timestamp) | |
| limit | No | Максимум записей (по умолчанию 100) |