delete_contact
Deletes a contact only after explicit confirmation, returning a full copy and arguments to recreate it; refuses if notes or linked cards exist.
Instructions
Delete a contact. It needs 'confirm' true. Without it, nothing is deleted, and the result shows the contact (name, emails, phones) so you can ask the user. The result of a delete has a full copy of the contact in 'contact', and in 'recreate' the arguments for create_contact, so the contact can be made again. Notes are not copied, because the app cannot read them. macOS refuses to delete a contact that has a note, unless the app has a special Apple entitlement. Then the tool returns an error and nothing changes. A contact linked from several cards (for example iCloud and Gmail) is refused: delete it in the Contacts app.
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": "delete_contact"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Contact id from search_contacts. Use it as given. | |
| confirm | No | Must be true to delete the contact. Without it, nothing is deleted. |