Find contacts
civicrm_find_contactsSearch CiviCRM contacts by name or primary email to retrieve ID, display name, contact type, email, and phone number.
Instructions
Search CiviCRM contacts by name or primary email. Returns id, display name, type, primary email and phone.
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": {
"query": "<query>"
},
"name": "civicrm_find_contacts"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| query | Yes | Free-text search; matches display_name, first_name, last_name, or primary email. |