Contacts
contactsRead-only; writes are on contacts_manage. Contacts. Actions: list (paginated, params: page, per_page, order_column, order_direction. Returns { contacts, pagination }); search (full-text across username/name/email/phone, params: query [required], page, per_page. Returns { contacts, pagination }); filter (structured segmentation — activity/automation/transaction/contact-info criteria combined with AND/OR; params: filters [required], filter_logic, page, per_page, order_column, order_direction; call get_contact_filter_types first to discover filter types. Returns { contacts, pagination }); get (fetch one by id, username, OR email — provide exactly one. Returns the contact with its latest 10 messages as last_messages); list_messages (a contact's messages, newest first, paginated — use it instead of last_messages on get to read beyond the latest 10; params: id [required], page, per_page, order_direction. Returns { messages, pagination }).
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": {
"action": "<action>"
},
"name": "contacts"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes | The read operation to perform on contacts. | |
| action_params | No | Parameters for the chosen action. Required per action — search: query; list_messages: id; update: updates (+ one of id/username/email); bulk_update: contacts. list/get take only optional params. |