Describe entity schema
civicrm_describe_entityRetrieves fields and actions for any APIv4 entity to verify field names and actions before making API calls.
Instructions
Introspect an APIv4 entity — returns available fields (incl. custom fields) and actions. Call this before civicrm_api4 when unsure of field names or action support.
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": {
"entity": "<entity>"
},
"name": "civicrm_describe_entity"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| entity | Yes | APIv4 entity name, e.g. Contact, Contribution, Activity. | |
| loadOptions | No | Include option lists for pseudoconstant fields. Verbose — turn on only when you need option values. | |
| includeCustom | No | Include custom fields (Name.custom_field notation). |