Plan a new ChurchTools person
ct_create_personGenerate a plan to create a ChurchTools person from first name, last name, and department IDs, while flagging possible duplicates before any write.
Instructions
Writes nothing: returns a plan to create a person, with persons of the same name as possible duplicates. Department ids come from GET /person/masterdata (ct_api_request). Most instances also demand statusId and campusId in fields, both from the same masterdata; an instance that makes the privacy agreement mandatory also demands privacyPolicyAgreementTypeId, privacyPolicyAgreementWhoId and privacyPolicyAgreementDate, which only the user can state. If ChurchTools refuses a duplicate, the result names duplicatePersonId.
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": {
"firstName": "<firstName>",
"lastName": "<lastName>",
"departmentIds": "<departmentIds>"
},
"name": "ct_create_person"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fields | No | Further fields of the person, e.g. email, mobile, birthday | |
| lastName | Yes | ||
| firstName | Yes | ||
| departmentIds | Yes | At least one department id |