List contacts
plando_list_contactsLists CRM contacts in pages of 50, oldest ID first, and filters by creation or update date, status change, status, or contact fields to narrow results and reduce API quota use.
Instructions
List contacts, 50 per call, oldest id first. Filter by when they were created or updated, when their customer status changed, by status, or by any contact field. With no date filter it lists every contact. Each call uses one API call from the monthly quota, so filter as much as possible. To get the next page, pass next_page from the previous answer as after_contact_id.
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": "plando_list_contacts"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fields | No | Extra comma-separated contact fields to return, on top of the defaults. Examples: p_id (national id), lead_status_cat_id, lead_origin_cat_id, customer_sales_person_id, customer_status_change, is_retainer, retainer_amount, retainer_next_payment, custom fields by column name (text_1, date_1, decimal_1, category_1), tags (tag_<type>), last_open_invoice, last_receipt, contact_sales, contact_projects. Unknown names come back empty. | |
| filters | No | Filter by contact field values, e.g. {"category_1": "5,6"}. A list containing -1 also matches empty values. | |
| statuses | No | Comma-separated customer status ids (get them with return_ids=true) | |
| created_to | No | Created on or before | |
| return_ids | No | true = return ids instead of names for statuses, categories and tags (needed for the `statuses` filter) | |
| updated_to | No | Updated on or before | |
| created_from | No | Created on or after: YYYY-MM-DD or YYYY-MM-DD HH:MM (Israel time) | |
| updated_from | No | Updated on or after | |
| after_contact_id | No | Paging: return contacts with an id greater than this | |
| status_changed_to | No | Customer status changed on or before: YYYY-MM-DD | |
| status_changed_from | No | Customer status changed on or after: YYYY-MM-DD |