Register for event
civicrm_register_for_eventRegister a contact for an event by creating a Participant record. Specify contact and event IDs, with optional role, status, and date.
Instructions
Create a Participant record registering a contact for an event. Requires CIVICRM_ALLOW_WRITES=true.
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": {
"contact_id": "<contact_id>",
"event_id": "<event_id>"
},
"name": "civicrm_register_for_event"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| role | No | Participant role name, e.g. Attendee, Speaker, Volunteer, Host. | Attendee |
| source | No | ||
| status | No | Participant status name, e.g. Registered, Attended, Cancelled. | Registered |
| event_id | Yes | ||
| contact_id | Yes | ||
| register_date | No | ISO-8601 datetime; defaults to now. |