Get contact
civicrm_get_contactFetch a CiviCRM contact by ID, returning core profile plus primary email, phone, and address. Optionally specify fields for customized output.
Instructions
Fetch a single CiviCRM contact by id. Returns core profile plus primary email/phone/address; pass fields to override.
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": {
"id": "<id>"
},
"name": "civicrm_get_contact"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | CiviCRM contact id. | |
| fields | No | Optional list of APIv4 select expressions, e.g. ['id','display_name','email_primary.email','CustomGroup.field']. Defaults to a sensible core set. |