list_contacts
Search and list contacts, filtered by client, supplier, or search term, with paginated results.
Instructions
List and search contacts (clients, suppliers, or both). Returns paginated results with count and pagination links.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | Page number (default: 1) | |
| search | No | Search term to filter by name, company, email, or VAT number | |
| ordering | No | Field to sort by, e.g. 'company' or '-company' for descending | |
| is_client | No | Filter to contacts marked as clients | |
| page_size | No | Results per page (default: 20, max: 100) | |
| is_supplier | No | Filter to contacts marked as suppliers |