Tool reference · Directories and organizations

manage_owners

Add or remove owners

Ownersdestructive

POST /v1/actions/manage_owners · MCP tool manage_owners

Makes someone an owner of an organization (add) or stops them being one (remove), by their user ID, for its owners. An owner holds every permission in the organization. The primary owner stays until they transfer ownership.

View as Markdown

Parameters

ParameterTypeRequiredLimits
action"add" | "remove"required
organizationstringrequired
userstringrequired

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/manage_owners \
  -H "Authorization: Bearer $OPENBOOK_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
  "action": "add",
  "organization": "9c4a1e7b-3d5f-4b2a-8e6c-1f7d3a9b5c20",
  "user": "c9f2a6d1-4e7b-4a3c-8f5e-1d6b9c2a7e40"
}'
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "manage_owners",
    "arguments": {
      "action": "add",
      "organization": "9c4a1e7b-3d5f-4b2a-8e6c-1f7d3a9b5c20",
      "user": "c9f2a6d1-4e7b-4a3c-8f5e-1d6b9c2a7e40"
    }
  }
}