contacts_anonymise
Anonymises a contact for a valid revDSG deletion request: blanks personal fields, redacts activity bodies, keeps row IDs for document links. Refuses if open receivables or obligations exist.
Instructions
Anonymise a contact on a valid revDSG deletion request, bounded by OR 958f: blanks the personal fields and redacts the activity bodies while keeping the row ids so posted-document FKs stay intact. Erases the whole merge identity (the contact plus every duplicate merged into it), so pass the SURVIVOR: a merge tombstone is refused and names it. Refuses while any unsettled receivable or obligation is still live (draft, issued, sent, accepted, confirmed, partially_paid), because an unpaid claim is an overriding interest and OR 958f Abs. 3 needs the retained record to stay readable. CONSEQUENCE: Erases this person's personal data and the notes about them, merged duplicates included, once nothing is still open with them. Booked documents stay on record without those details; there is no way back.
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": {
"workspaceId": "<workspaceId>",
"contactId": "<contactId>",
"idempotencyKey": "<idempotencyKey>"
},
"name": "contacts_anonymise"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| contactId | Yes | ||
| workspaceId | Yes | ||
| idempotencyKey | Yes |