Tool reference · Contacts

suggest_change

Suggest a change to a contact I can’t edit

Users with access to a group

POST /v1/actions/suggest_change · MCP tool suggest_change

Sends a suggested change to a contact the user sees but can’t edit, values to add, change or take off, to the people in ask, picked among people who can edit it and its directory’s owners, who are told and accept or decline it with review_suggestions. Nothing changes until one accepts. reason goes to them with it.

View as Markdown

Parameters

ParameterTypeRequiredLimits
contactstringrequired
changes{ field: { type: "phone" | "email" | "address" | "url" | "birthday" | "company" | "title" | "note" | "social" | "photo", label?: string }, value: string or null }[]requiredat least 1
askstring[]requiredat least 1
reasonstringoptionalup to 500 characters

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.

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/suggest_change \
  -H "Authorization: Bearer $OPENBOOK_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
  "contact": "5e8b2d4f-7a1c-4e9b-8d3f-6c2a9e1b4d70",
  "changes": [
    {
      "field": {
        "type": "phone",
        "label": "work"
      },
      "value": "(415) 555-0190"
    }
  ],
  "ask": [
    "c9f2a6d1-4e7b-4a3c-8f5e-1d6b9c2a7e40"
  ],
  "reason": "She gave me her work number at practice."
}'
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "suggest_change",
    "arguments": {
      "contact": "5e8b2d4f-7a1c-4e9b-8d3f-6c2a9e1b4d70",
      "changes": [
        {
          "field": {
            "type": "phone",
            "label": "work"
          },
          "value": "(415) 555-0190"
        }
      ],
      "ask": [
        "c9f2a6d1-4e7b-4a3c-8f5e-1d6b9c2a7e40"
      ],
      "reason": "She gave me her work number at practice."
    }
  }
}