prime_search_contacts
Search and filter contacts by name, email, phone, contact type, or active status with pagination and sorting to locate matching records.
Instructions
Search and filter contacts by name, email, phone, or type. Returns paginated list.
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": "prime_search_contacts"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Filter by name (partial match) | |
| page | No | Page number (starting from 1) | |
| No | Filter by email (partial match) | ||
| phone | No | Filter by phone number (partial match) | |
| query | No | Search term for name, email, or phone | |
| includes | No | Related resources to include: contactType, addresses, licences | |
| order_by | No | Field to order by (e.g., "createdAt", "updatedAt") | |
| per_page | No | Items per page (max 100) | |
| is_active | No | Filter by active status | |
| order_dir | No | Sort direction | DESC |
| is_individual | No | Filter by individual vs organization | |
| contact_type_id | No | Filter by contact type ID |