Tool reference · Contacts

edit_note

Change or remove a note

Ownersdestructive

POST /v1/actions/edit_note · MCP tool edit_note

For owners: changes the words of one entry in a contact’s note history, or with text null removes it. note is the entry’s ID, from get_contact. Everyone else only adds notes (add_note), and a note only its author sees is theirs alone (notes_only_you).

View as Markdown

Parameters

ParameterTypeRequiredLimits
contactstringrequired
notestringrequired
textstring or nullrequired

Who can use it

Owners of an organization have it, and each call is checked against which organizations they own. 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/edit_note \
  -H "Authorization: Bearer $OPENBOOK_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
  "contact": "5e8b2d4f-7a1c-4e9b-8d3f-6c2a9e1b4d70",
  "note": "2c7e9a4f-1d3b-4e8c-9a6f-5b2d8e4c1a90",
  "text": "Runs the snack rota on Saturdays and Sundays."
}'
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "edit_note",
    "arguments": {
      "contact": "5e8b2d4f-7a1c-4e9b-8d3f-6c2a9e1b4d70",
      "note": "2c7e9a4f-1d3b-4e8c-9a6f-5b2d8e4c1a90",
      "text": "Runs the snack rota on Saturdays and Sundays."
    }
  }
}