Delete contact
nextcloud_delete_contactDelete a contact from a Nextcloud address book by specifying its URL. Use the confirm flag for destructive operations when client prompts are unavailable.
Instructions
Delete one contact.
DELETE /remote.php/dav/addressbooks/users/{user}/{book}/{contact}.vcf
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_url": "<contact_url>"
},
"name": "nextcloud_delete_contact"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| confirm | No | Explicitly confirm this destructive operation. Needed only when the client cannot answer a confirmation prompt. | |
| contact_url | Yes |