Tool reference · Contacts

review_suggestions

Accept or decline suggested changes

Users with access to a groupdestructive

POST /v1/actions/review_suggestions · MCP tool review_suggestions

Answers a change someone suggested with suggest_change to a contact they see but can’t edit, by its ID from waiting_suggestions. accept makes those changes to the contact across its directory, which takes edit access on it or being an owner; decline leaves the contact as it is. Accept or decline only when the user says so.

View as Markdown

Parameters

ParameterTypeRequiredLimits
action"accept" | "decline"required
suggestionstringrequired

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/review_suggestions \
  -H "Authorization: Bearer $OPENBOOK_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
  "action": "accept",
  "suggestion": "8f3b6d1a-4c9e-4a2f-8b7d-3e6c1a9f5d20"
}'
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "review_suggestions",
    "arguments": {
      "action": "accept",
      "suggestion": "8f3b6d1a-4c9e-4a2f-8b7d-3e6c1a9f5d20"
    }
  }
}