Tool reference · Contacts

delete_contact

Delete a contact

Users with access to a groupdestructive

POST /v1/actions/delete_contact · MCP tool delete_contact

Deletes a contact, for people with delete access on a group it’s in. The contact goes to its directory’s Recently Deleted (30 days), where people who could delete it can undo, and is deleted for good 30 days later. An owner deleting one that’s already there deletes it for good at once.

View as Markdown

Parameters

ParameterTypeRequiredLimits
contactstringrequired

Who can use it

Users get it once they have access to a group, and each call is checked against that access. A person’s tool list only includes it when they can use it, and clients like ChatGPT see the same list.

Annotated destructive, so clients like ChatGPT ask the person before calling it.

Errors

Errors carry a stable code and a message written for people. See errors and their status codes.

curl https://api.withopenbook.com/v1/actions/delete_contact \
  -H "Authorization: Bearer $OPENBOOK_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
  "contact": "5e8b2d4f-7a1c-4e9b-8d3f-6c2a9e1b4d70"
}'
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "delete_contact",
    "arguments": {
      "contact": "5e8b2d4f-7a1c-4e9b-8d3f-6c2a9e1b4d70"
    }
  }
}