Tool reference · Directories and organizations

update_organization

Rename an organization

Ownersdestructive

POST /v1/actions/update_organization · MCP tool update_organization

Renames an organization, for its owners. Its directories keep their own names; rename those with update_directory.

View as Markdown

Parameters

ParameterTypeRequiredLimits
organizationstringrequired
namestringrequiredup to 100 characters

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/update_organization \
  -H "Authorization: Bearer $OPENBOOK_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
  "organization": "9c4a1e7b-3d5f-4b2a-8e6c-1f7d3a9b5c20",
  "name": "Riverside Football Club"
}'
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "update_organization",
    "arguments": {
      "organization": "9c4a1e7b-3d5f-4b2a-8e6c-1f7d3a9b5c20",
      "name": "Riverside Football Club"
    }
  }
}